Electrical noise / interference. Depends on the quality of the case, motherboard etc.
Try the 3.5mm port at the back of the motherboard. If it's a pain to get to, run a short 3.5mm male to female extension cable to the front of the case and use that. That one is likely to be more isolated.