Coaching is not for the faint of heart, and that includes immediate family.
Unfortunately, there are those who can't control themselves from a fan standpoint and cross lines into harassment, which is unfortunate.
However, when things go bad, coaches and their families should always be prepared for the inevitable backlash they are going to get. It's unfortunate, but comes with the territory.