You [b]both[/b] aren’t being honest with each other. If your virginity was important to your boyfriend, it was important for you not to lie to him about it. He felt betrayed when he found out that you weren’t a virgin, although you said you were, and then he was doubly betrayed because you lied to him about the fact. Not everyone cares about virginity, but if it’s an issue in a relationship, then it’s important to respect your boyfriend’s feelings.
Unfortunately, he wasn’t able to be honest with you either. Rather than confronting you with your lies, he behaved in kind. It would have been better if he told you that he knew about your lie and that you weren’t a virgin and asked you why you lied to him. But because he didn’t, he acted out instead, suppressing his real feelings towards you.
I don’t think that the two of you are well suited for a healthy relationship. Honesty is one of the cornerstones of intimacy, and when you can be honest with each other about something as important as sex, you don’t have good building blocks for a relationship.
My advice is to start practicing honesty. Not just with your boyfriend but with everyone. Check yourself to make sure you’re being scrupulous when you talk to people — with what you say, and what you [i]don’t[/i] say.