Imagine power supply that works like this. You charge big battery from mains, disconnect it and then use to power your amp with clean DC, disconnected from mains. No noise from electrical lines.
So ideal power supply should work exactly like this, rejecting noise and interference. Amp schematics and parts placement may be more or less sensitive to what comes from the AC mains.
Different amps have different designs and different power supplies. Thus some are more sensitive to power cables and some less. Perhaps yours is in the “less” category.