This is one of those myths that is accepted as fact without question. People generally believe this is something the birds do when danger is near.
Ostriches do run if they feel that danger is approaching, but they
also have a powerful kick to defend themselves. Ostriches may hold
their heads low in an attempt to be harder to see, but they do not
actually bury their heads.