When Donald Trump was sworn in for his second term on January 20, 2025, the financial markets were riding a wave of optimism.