Hungary is in both.
And now NATO and EU are threatening Hungary's sovereignty. (NATO being an arm of the US; the EU dominated by France and Germany).
Orban is, wisely, spreading his bets.
Furthermore, the US (and Israel, Russia, Africa, India, Iran) are also making deals with China, seeking closer ties. Why shouldn't Orban?
So the answer is to become a Chinese vassal state?