why do bearded dragons bob their heads

why do bearded dragons bob their heads