Hello brother.
I am not sure about the right way to do it, but so far this is my opinion:
I don't think you should mask your feeling, but you don't have to tell them the whole story either. If mood swing occurs and it hurts your family or friends, just say that and only that. Be humble and admit it, tell them you have the mood swing these days, you feel sorry about it, and that you will work on it and learn how to handle it well. Invite them to give you a friendly reminder whenever this happens again. However, you can always choose whether or not to tell them about your NoFap journey, or whether your mood swing is NoFap-related.
Not sure if this helps, but at least this is what I have been trying to do, and it works pretty well for me. Usually when I admit my misbehavior and be humble, chances are that other people will do the same, giving you love and support, which helps one to stay clean. Also, I believe you can reduce the frequency and intensity of the mood swings by being more considerate and loving in general, which helps fixing this problem at the root level.
I know it is hard to be in your situation, but this is also an important part of one's life: We face difficult problems, try to solve it, and get used to embracing challenges instead of running away from them. Very often, it is our habit of running away which makes us addicted to PMO in the first place. Facing these difficult life situations would definitely help building up the foundation and mentalities required to quit PMO. It may sound like a cliche, but by playing your cards right, what's perceived as "bad" (e.g. life problems) can become something "good".
Good luck to you man, please don't hesitate to ask around whenever you need more help.