Hi there Elksama909, and welcome to Scarleteen! It sounds like you're having a frustrating time with finding pleasure via masturbation at the moment; this is actually something that many people experience when first exploring masturbation and sex, and/or at other points at their lives too. Whilst this doesn't change the here-and-now of your situation it can sometimes help to know that you are very much not alone in terms of experiencing frustration with this: masturbation can feel great, however many people find it takes some time to find what works for them, and also at times it might not bring them pleasure.
One of the main reasons people experience this is due to not being aroused
whilst masturbating, arousal is the part of something that's called the 'sexual response cycle', and is one of the important mental parts of sexual response: our brains are actually the important part of how we respond to any sexual stimuli, and how we experience pleasure. You can read about it here: With Pleasure: A View of Whole Sexual Anatomy for Every Body
and here: Sexual Response & Orgasm: A Users Guide
Our brains are really good at prioritising things, and if we are stressed, which can include beings stressed by the pressure that we're putting on ourselves to feel pleasure, or external factors, like gender dysphoria as you mention, then it will focus on the stress until it isn't there (or as significantly present), because the brain sees stress as a 'threat' and has evolved prioritise getting us out of danger before anything else.
Whilst it might be a bit hard right now, I would encourage you to take the pressure off yourself if you can. This might look like taking some time off trying to masturbate in this way (or at all), for a few days or however long you need, and doing things you enjoy and find recharge and relax you.
You mention that you think that gender dysphoria might be playing a part here; if you feel comfortable answering, is this something that is feeling very present for you at the moment? We would be happy to explore and discuss this here with you if you would like.