Certificates of deposit and high-yield savings accounts paid out handsomely in 2024, but investors now face the tax bill.