If you get too close to a wild one that used it's special ability (a charge that will set it on fire and aggravate nearby dinos) it'll display a message saying "getting hot! Stay away!!!!" and that will set you on fire. Don't approach unless you know you're prepared.

More Magmasaur Encountering Tips