If you have a bad wheel bearing, it can cause the hub to rotate off center, and this will move the ABS tone ring either away from, or closer to the ABS wheel sensor. When that happens, it will throw an ABS code causing the light to come on. You may also notice irregularities in your steering.