I’ve had that happen gigging at clubs with bad wiring. It’s usually some form of grounding issue, believe it or not. Can you move it to an outlet in a different part of your living space and see if it still happens? If it’s a small apartment, that may not matter, but you could try to look for creative grounding solutions.