You use the expression it's just that when you are making a complaint, suggestion, or excuse, so that the person you are talking to will not get annoyed with you.
I'm sorry I shouted at you. I didn't mean to. It's just that I was so mad.
Your hair is all right; it's just that you need a haircut.