Fidelity will be the primary factor that will have an effect.
Fidelity being the waveform generated by the earphones will be closer to actual sound thus sounding clearer while lowend makes a rough copy.
The biggest difference is in not price but manufacture.
No doubt if you buy a Sony or Panasonic or any of the top Japanese makers you will get the better if not the best performance.
Else a no name Chinese knockoffs are worthless as their price.
A great quality can be had for $25 earbuds from Sony.
If you’re looking for the best at the lowest. You need to get the full on headphones that wraps around your head.