The bug
Normally wolves chase down foxes as of their "hunting enemy".
When you tame a wolf, they won't harm the foxes anymore, but somehow the foxes still run away from it as it think it will still attack them. Even trusted foxes still run away from it!
Relates to MC-147619