Your speakers apparently don't have shielded cables. Computers radiate a lot of electronic noise, and even though it's only radiated for a short distance, it can easily be picked up by unshielded wires. This is usually most obvious when you use external speakers that are meant for an iPod rather than a computer. More expensive, but higher quality, computer speakers should have shielded cables and thus be almost entirely immune to this problem.