USA:s president Donald Trumps politik de senaste veckorna har gröpt ur förtroendet för den amerikanska dollarn.