Every member of the Axis countries joined up to gain territory.
Germany occupied Hungary because Kállay secretly tried to negotiate a separate end to hostilities between Soviet Union and Hungary.