My guess is that you have a couple of harmonics 'beating' against each other. High gain settings tend to enhance the harmonics, which may also be feeding back into the guitar from your speaker. That's one of the things Hendrix used to play around with, freaking everybody out. Have fun with it. :)