Sol, I'm sorry.
Sounds like with this T, to be safe, you should not schedule appointments on Friday afternoons, if he is in court Fridays. If you want to keep seeing him, can you get an appointment another day? It just sounds safer since he is unreliable on Fridays.
I do think if he is trying to get rid of you, as you suspect, he should be up front about it and not drive you away with his behavior. He wouldn't want you to act out, so he himself should model mature and healthy ways to deal with such situations. Can you talk about this with him, and tell him you suspect this sort of cancelation is his way of trying to get rid of you? You could either get confirmation or reassurance.