Do you have a link for where Trump explicitly said beforehand that he supported McCarthy?
Do a search on Google and filter for date. Trump has repeatedly expressed support for McCarthy, before he didn’t, then circles back to again support him. That’s Trump.