Fuzzy static noise in my earphone. How can i fix it?

My earphone is a pair of Ultimate ears 600vi, it works fine with my iphone 5 and lenovo y400 laptop, but i'm experiencing really annoying static noise when I use it on my Macbook pro and LG G3. So I don't think it's the earphone's problem. Anyone know how to fix it? Any help is appreciated.

The fact that the 'phones work well with any equipment
indicates that they are OK.

The Macbook and the G3 both need to be examined for faults.
Consult an appropriate professional servicer.