I would have expected the surface of the moon to be hotter. Both become hot owing to solar radiation.
Because while the lunar surface is being heated, some of that heat is conducted away from it into a large heat sink, the moon. Isolated atoms in the thermosphere lack such a heat sink.
(Both the lunar surface and the thermosphere are significantly colder "at night" when shaded from the sun, by the moon and the earth respectively.)