Hungary's government has pledged to assist Iran following a deadly attack, raising questions about its ties to Hezbollah amid international tensions.