Hum on a guitar...... something near and dear to my heart.
I have a classic Gibson SG with humbuckers.... the good ones... and if I get too close to a monitor it will hum. Distance, direction, angle, all affect the level. The electronics and or wiring in the guitar should also be shielded.
A lot of the cheaper guitars.... the Epiphones, and the Fender MIM & MIC ...are all cheaper guitars. They have to use cheaper pickups and likely cut corners on shielding to sell at the price they do and still make a profit to stay in business. I haven't taken my Fender Modern apart to look..... but at $450 vs $1000 for a Fender Telecaster..... there has to be corners cut and cheaper parts used. I'm absolutely certain one of those corners is cheaper pickups.
On my Gibson, I have total silence...well no hum anyway with my amps and modelers. However, the Tele Modern is a whole different story. Depending on the pickup selection I use, I can get silent operation or hum that's pretty significant. And... the hum is also dependent on the gain settings I'm using.
I have to choose which selector setting I use and when I use it. I often simply record the parts I want with the guitar and whatever noise is present..... and then use surgical envelopes in the track to cut the noise/hum to silence.