Sunblock is supposed to reflect UVA/UVB, but doesn't do much for infrared or visible light, which is why your skin gets warmer.
(Edited, fixed)
(Edited, fixed)
https://care360.basf.com/emea/en/industries/personal-care/co...
Mineral - Reflects
Chemical - Absorbs
https://cen.acs.org/business/consumer-products/What-in-sunsc...
Black means absorbed, of course.