Head shaking and bobbing are preludes to more extravagant threat posturing like hatcheting or sinuous tail swishing. It doesn't necessarily escalate though. But igs also seem to do it with humans as some kind of communication like "You're there and I'm here" or something. One ig keeper recently said her male ig head-shook while she talked to him. She talked to him a lot. Very cute.