It means the deer is aware of a menacing presence (you) but is not quite sure about the nature of the threat. It’s trying to get you to react so it can (a) run or (b) go about its business.
Outdoor Skills – Hunting Q&A
Very often when I've gotten close to a whitetail, I've seen it strike the ground with a forehoof. What's the animal up to when it does that?