You seem to be going through a tough time. It's alright to want your space sometimes and want to be with people on other times. If your parents are hurting you, then its best to talk to them frankly and have a dialogue with them. If its done respectfully and assertively, the discussion will only bring you closer to them.
Next Steps
Please see a counselling psychologist. You might be going through the changes that many teenagers go through. A counselling psychologist can facilitate an open conversation with your parents.
Health Tips
To win their trust, you could bring your friends home so that your parents can get to meet and know your friends better.