It's more about Hungarian domestic politics. The Orban administration has alienated much of the EU leadership, and is (arguably) in violation of the EU treaties. So they're looking to Russia as a backup option, and as an implicit threat to the EU over having their funding cut off.
Right, and as I stated above, Hungary can threaten to establish closer ties with Russia if the EU cuts off their funding. This is a way to resist EU demands for internal political reforms and play towards the Fidesz party base.