By voting present, he voted to make McCarthy Speaker. As Trump wanted him to do. Not sure what part of that you find confusing?
He did not do as Trump asked. In other words, Trump had zero effect on his vote, and was counterproductive towards his actions. Not sure what part of that you find confusing. But here's the breakdown:
Vote 14: Gaetz votes "Present"
Trump calls Gaetz and demands he vote for McCarthy
Vote 15: Gaetz votes "Present"
Heck of a lot of influence Trump had there.
Here's a better explanation of what occurred:
June, 2022 - Trump endorses McCarthy
Jan 3, 2022 - Trump urges everyone to support McCarthy for Speaker
Vote 2 - Conservatives demand concessions
Vote 2 - Conservatives demand concessions
Vote 3 - Conservatives demand concessions
Trump urges everyone to support McCarthy
Vote 4 - Conservatives demand concessions
Vote 5 - Conservatives demand concessions
Vote 6 - Conservatives demand concessions
Vote 7 - Conservatives demand concessions
Vote 8 - Conservatives demand concessions
Vote 9 - Conservatives demand concessions
Vote 10 - Conservatives demand concessions
Trump urges everyone to support McCarthy
Vote 11 - Conservatives demand concessions
Vote 12 - Conservatives demand concessions
Vote 13 - Conservatives demand concessions
Trump demands everyone vote McCarthy
Vote 14 - Conservatives demand concessions
Conservatives get consessions
Vote 15 - McCarthy wins
#AlwaysTrumpers give Trump credit for McCarthy victory
Conservative gains won by Conservatives not mentioned.