Why phone stop charging

I have a double wall plug, one for charging my phone and the other to operate a table lamp. Why do my phone screen lights up and charging stop when I switched off my lamp?

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

crwdns2934109:0crwdne2934109:0

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