My observation is that the global powers pressure them to avoid escalation as for now they don't like to start WW3.
Russia supports Iran but also pressure them to deescalate.
USA supports Israel but also pressure them to deescalate.
So both of them do a limited responses to 'wash their faces' and not be considered weak. The rest is mostly an effect.