https://www.livescience.com/animals/birds/do-ostriches-really-bury-their-heads-in-the-sand
"
Unlike nest-building birds, ostriches dig shallow holes in the sand or dirt to lay their eggs. Both parents rotate the eggs several times a day to ensure they are kept warm. This behavior may, from afar, look like they have their heads buried..."