Emotions. The US killed much of Iran's leadership and a lot of civilians (including a lot of children) at the order of Trump. That creates a strong motivation to do something, and revenge is one of those things that's emotionally easy to justify. Especially during war.