As someone that lived there, and drank their coffee, everyone knew it was hot. It was served that way because of the huge number of university students that grabbed a cup before class and it was still warm after walking across campus. The exit of that parking lot is also a known issue. It has/had a steep dip out of the lot and onto the road because that's how the roads were built down there rather than putting in sewers. Finally, there is a traffic light right next to that McDonalds. A LOT of people hit that dip hard trying to get onto the road before that light changes.
All of these things contributed to the issue. Sticking a hot cup of coffee between your legs while someone is driving is stupid, especially in that parking lot. Serving coffee so hot that it stays warm while you walk to class is also pretty stupid. The way McDonalds handled the issue is what made them the bad guys here. They could have easily helped this woman with her medical bills and it would have cost them far less money than the amount they spent on the their PR campaign and lawyers.