Why does my iron auto shut off in use?

Why does my iron (Black and Decker Digital Advantage D2630) auto shut off while in use? Happens when I tilt or tip the iron over to use. It will turn on only when upright.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0