Lower albedo and less vegetation make the city hotter.

Urban Heat Island: 2D Cross-Section

A city cross-section shows why built-up areas stay warmer than the countryside.