Why do some guys lash out when angry, then apologize later?

When they get angry for whatever reason they hurt you then after awhile they reflect on their actions feel bad and then come back to apologize? why not try to control your reaction? especially if it's a small matter?

Updates
11 h
I know women do this too. But it's more common for men from what I've seen ig
Why do some guys lash out when angry, then apologize later?
Post Opinion