I'm assuming you have a contract that gives the ability to even make calls or send out text messages.
Did you pay your bill on time? When your bill is overdue, T-Mobile will shut off most of your phone's capabilities, including making phone calls and sending texts.
I can only guess on the up...