Bitcoin and other risk assets have been whipsawed by President Donald J. Trump's shifting rhetoric on Iran.