That's not what mansplaining means. If you see someone about to get hurt, you should point that out.
Mansplaining means telling a woman about something that she knows more about than you do, or her own personal experiences, or how her body works. It doesn't mean a man telling a woman something that might actually help her or be useful to her. Mansplaining is about being condescending and acting like by virtue of being a man, you automatically know more than a woman. Saying, "Hey, be careful there. I don't want you to get burned" does not fall into that category.