If you changed front wheel bearings the magnetic disc that the ABS sensor reads is part of the seal at the end of the bearing, so if fitted back to front or if a magnetised screwdriver for example is moved against it, it can damage that disc causing ABS readings to be wrong/fail.
Best is to use a good code reader to tell which one is not reading correctly, hopefully just one side.
This is quite a common problem, though if wire or ABS sensor damaged during fitting it can also be that