Why do the queen’s guards wear such tall hats?

To scare off the queen’s enemies.

Source: https://www.livescience.com/why-queens-guard-bearskin-hats.html