Overheating? If you were on the charger each of those times, or it had been in heavy use in the heat and right after charging.
Just a thought. Because my screen dimmed, with a popup saying it was being dimmed by the system because it was too hot, one time when using GPS with the phone in a silicone case and in an auto mount that had a full back. Maybe these phones don't cool well.