Is it a red flag that my boyfriend yelled at my friend for a safety reason?

So me and my boyfriend invited a friend of mine and her boyfriend to a daily boat trip with my boyfriend as a captain, as it was his father's boat. As we were diving from the boat, my friend was trying to push me from the boat for fun, from a dangerous spot though, as I was just above the ladder, which is moving and If I fell into the sea, I could easily get hit by the ladder. So, as my friend was trying to push me , my boyfriend yelled "hey hey no, don't push her! She will get hurt!!" a few times. So after that she didn't push me, but seemed quite upset. I'm worried if she got upset with my boyfriend and if this is a red flag of him. He is a generally calm person and never offends me in any way.

Is it a red flag that my boyfriend yelled at my friend for a safety reason?
Post Opinion