Hi,
The ABS module affects the AWD function when you have stability control. In this case, I see no correlation with the AWD unit. Also, is the code which was retrieved a C0265? As you are already aware, the relates to the ABS relay. Honestly, it isn't common for them to go bad. However, it isn't odd for there to be wiring issues. Thoroughly inspect connections and circuitry that may cause an malfunction. The reason I suggest this is because you indicated it can sometimes happen when you hit bumps.
Here is a link that explains how to test and check wiring:
https://www.2carpros.com/articles/how-to-check-wiring
If you look at pic 1, it shows EBCM. Make sure the connections are tight, not corroded, and there is no damage to the pins within the plug.
I hope this helps. Let me know if you have other questions.
Take care,
Joe
Image (Click to make bigger)
Thursday, March 26th, 2020 AT 7:47 PM