This video shows how a scientist found out why lizards do pushups when they meet another lizard by creating a robotic lizard that does pushups. Lizards do it as a threat display.

“Robot Lizards’ Talking Pushups”