New Yorkers despise trump and have for ages. From tenants, to contractors, to business partners they all know what a shitheel he is. Outside of NY though trump was largely seen as an affable caricature of a rich dude. Case in point: NYC as a whole isn't averse to republicans and yet they still rejected trump in 2016.
Elon's the same way. Sure he called that diver a pedophile. But he also had a Tesla employee hounded until he fled the country. Musk had the guy swatted for fucks sake (or tried to at least). Or what about the journalist who pissed him off and ended up having some Tesla features disabled on his car. Or his ex-wife who talked about being treated like an employee. These things were mostly inclined to stay in the background until Musk elbowed his way into the spotlight. Now the whole world can see that he went full on Howard Hughes.