Have never really thought about it, but it makes sense.
>>The earth was a much hotter place in prehistoric times, so it follows that large heavily-armored dinosaurs likely retained a lot of heat in their bodies. A new study suggests that their brains were protected from overheating, however, thanks to a heat exchanging system in their noses.<<
https://newatlas.com/ankylosaurus-nasal-brain-cooling/57766/