Well, the thing about the ABS and various brake system components is that they're all linked together in some fashion.
Case in point, a while ago, my parking brakes failed. That not only triggered the warning about the parking brake, but also the main braking system AND the ABS system. The dealer diagnosed the problem to the parking brake button not responding with the right resistance. They swapped it out and everything worked fine.
Another case was when I got a nail in my tire. I switched out to the donut for a few days... a whole bunch of warnings popped again... one of which was the ABS (along with TPMS, LKAS, etc). And that came and went as I shut down and restarted the HR-V. And once I got the tire fixed and mounted back on, they stayed clear.
So, it would be in your best interest that it doesn't come back, of course. But if it does, to find out what exactly is the cause. Replacing it costs a fortune, but it'll hurt even more to find out afterwards that it wasn't the issue to begin with.