--- EDIT ---
Just adding that, IIRC, this is _the_ reason coffee cups say "caution: contents of this are hot" (or whatever to that effect).
[1] https://en.m.wikipedia.org/wiki/Liebeck_v._McDonald%27s_Rest...
> McDonald's required franchisees to hold coffee at 180–190 °F (82–88 °C)
> coffee they had tested all over the city was served at a temperature at least 20 °F (11 °C) lower than McDonald's coffee
> They also presented the jury with expert testimony that 190 °F (88 °C) coffee may produce third-degree burns (where skin grafting is necessary) in about three seconds and 180 °F (82 °C) coffee may produce such burns in about twelve to fifteen seconds. Lowering the temperature to 160 °F (71 °C) would increase the time for the coffee to produce such a burn to 20 seconds.
and the vast numbers you hear about in this settlement are a result of that. All the victim wanted was medical expenses covered.
> Liebeck sought to settle with McDonald's for $20,000 to cover her actual and anticipated expenses.
In case you're unaware of the context, in short:
McDonald's launched a smear campaign against the lady who spilled hot coffee on her lap. The elderly lady was in the passenger seat of a parked car at the time, and the coffee was so hot that it fused her labia and she needed multiple skin grafts to recover. She asked McDonalds to check their coffee equipment (surely it was malfunctioning if coffee was that hot) and asked them to pay her medical bills, but they refused. During the trial, it was discovered that McDonalds had received hundreds of complaints about the temperature of their coffee and done nothing. The jury awarded her more than she was asking, which amounted to something like the profit from one day's coffee sales.
https://www.rd.com/article/hot-coffee-lawsuit/
https://en.wikipedia.org/wiki/Liebeck_v._McDonald's_Restaura...
McDonalds reportedly used higher temperatures to extract more coffee, and kept their coffee very hot, enough to cause third degree burns in the Hot Coffee case IIRC. They had many complaints and refused to lower the temperature.
So, McDonalds don't need to cool it so much as not heat it so much. Drinking temperature is below 70 C, McDo were reportedly giving it to people at 90+ C, reports say 20 C above industry norms; hotter than being temperatures.
Blaming customers who are very familiar with buying coffee for not knowing you purposeful heat it to a much higher temperature would be crass in the extreme. Like selling Chicken Korma (a very mild curry) and putting ghost peppers (very hot spicy peppers) in it, and refusing to add a warning or anything when lots of people complained.