It's a shitty amp tone.
Shitty amp tones can happen any number of ways. In this particular case, it sounds like the gain was cranked way too high and there's some sort of presence added to it that sounds like ice picks on a chalk board ... like a presence knob on the amp cranked all the way up, or one of those sonic masturbators.
Just work on getting a better amp tone. You may need a better amp to start with, or it could just be a matter of working / finessing the one you have.
.