Places a little warmer (England, Denmark, Netherlands, northern Germany) might be warm enough for a few days per year, but the cost of purchase and maintenance of A/C might not be worthwhile.
The additional purchase cost is a rounding error, and you're far worse off if cooking people alive during the summer means losing customers year-round as they switch to less-hostile transit options. Maintenance isn't a dealbreaker either: sure, it's extra work, but the equipment is rarely needed. This means the occasional breakage isn't a huge deal, and big maintenance can be deferred to the spring and fall.
The windows often contain labels like "Fahrzeug klimatisiert" (Vehicle is air conditioned) so it is not that people are unaware.
In 2020, 5% of bus in Paris had AC.
In 2026, they aim for 75%. And a 100% rollout by 2035.
Even subway lines don't all have AC.
Does have heat in the winter though.
Buses you pay directly to ride may be a bit different, but I'd also expect AC isn't ubiquitous in those, or wasn't until very recently.