How should I tell my coach?

I am a sophomore currently and I really want to quit my high school soccer team but I’m scared too. The team is just filled with drama and superiority towards some players and not for me. My mom agrees with me because she has hated the team and coach since I’ve been playing in freshman year. To me, being on the team is just an inconvenience because I would rather be doing stuff on my own time other than boring team bondings. I am also a good student and The coach knows that. Once, I skipped a varsity game that I would have just been on the sidelines watching like all the other times to study for my chemistry midterm I was really scared for. Of course, the next day at practice coach asked me why I didn't go. I wanted to say that I didn't want to sit on the sidelines watching the bratty varsity team play a game when they won't sit to watch our JV team play instead of getting a good grade! Instead, I said that I wanted to study for my chemistry midterm. Coach replaced by saying they would have played me (yeah I'm sure) and we're disappointed but knows that grades come before sports. I definitely know I want to quit because I am actually afraid to tell my coach I want to. I am afraid of what their reaction will be, and they are also a teacher at my school. The coach has kind of always scared me, but also seems to like me. I just don’t know how to say I really am done with the entire program and want to quit. Also, soccer is not going on right now so it would be a normal time for quitting. I might add that since March of freshman year so, for more than a year I’ve been dating my boyfriend. I am afraid my coach will think that he is pulling me away from the sport because the coach has actually already told one of the girls to hang out with her boyfriend less (apparently). But, he is not pulling me away in any way. He has his own sports and I have mine and he agrees with whatever I do.