What you are experiencing is a simple placebo effect. People told you that not masturbating will be good for you, and you believed them. No credible scientist would ever say there is anything unhealthy about masturbation. NoFap is just another of may puritanical ideas put forward by social conservatives to shame people for their sexuality, especially men. They have been doing it for hundreds of years and this is just the newest version. You fell for it. The effects you have received from it are from the changes you made to your lifestyle to accommodate for nofap. Of course porn is a different story.