Portafilter sprays water when pulling shot of water to warm components

When i pull a shot of plain water to warm the portafilter and shot glass the machine kinds of pops and sends water spraying out of the top of the portafilter. However when i pull a shot of espresso the machine work fine no spraying. The problem only happens when there is no coffee in portafilter any suggestions?

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

crwdns2934109:0crwdne2934109:0

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