U.S. stocks failed to kick off the new year on an upbeat note after a rough final stretch of 2024.