After having my wheel bearings replaced, my ABS brakes randomly come on, sometimes without applying the brake.
ABS brake on 2004 Subaru Forester
Sounds like either some damage was done to an ABS sensor near the hub on one of the wheels. If not, the clearance between the sensor and the indicator ring on the front wheels could be off now, compared to what it should be. A test is needed to see if you have a problem with one or both sensors. Then, figure out what problem you have.