Dear T.,
The judge was probably angry because there is usually enough time between the time the motion is filed to the actual court date to ask for a court appointed attorney and neither of you did.
I’m sorry you and your witnesses were not heard but not surprised. Judges can be short tempered and rude. Many should be off the bench all together. You do have the right to lodge a complaint, but I would wait until your own issues are resolved.
Go to family services and see what they can do to help you appeal the decision. Don’t go back to court without an attorney.
In the meantime document everything, dates, times, events and you are right to have witnesses present when you have to interact with your former husband.
Blessings…..