Because the magnets in the speakers don’t need to be very strong and as such aren’t going to impact the readings very much. For any impact they do have you can also calibrate the magnetic sensor to ignore it from the speakers as that will be constant and always on a single dimension where most smartphone compasses measure the magnetic field in all 3 spacial dimensions (meaning you will get an X, Y, and Z value)
Latest Answers