It is well understood that Hungary supported the Axis forces because it wanted its WW1 territories back. They were not considered a reliable ally (or all-in on the Nazi cause) that is why Germany eventually occupied them