What is the meaning of Afoul?

In a state of collision or entanglement.

In a state of entanglement or conflict (with).

Source: wiktionary.org