Yo what's up, I'm a beginner too (950 elo).
To me it looks like the move d5 allows white to respond with e4, attacking the d5 pawn and opening white's light-square bishop for development. It's an issue because, let's say you play a natural move such as Nf6 to defend the d5 pawn, the bishop would then go to b5, forming a battery with the queen and strengthening your knight's pin to the king.
Those are my thoughts, hope this helps you
Sorry if this is rather easy im new and learning,I went on to relieve the pin with bishop to d2 and that was the best move AFTER this mistake. In my head I needed to deal with that pin right away and try to kick the queen around