Pinning the queen

Sort:
ElmersGLUEwins
[Event "ElmersGLUEwins vs. Sars-covid2020"] [Site "Chess.com"] [Date "2024-03-05"] [White "ElmersGLUEwins"] [Black "Sars-covid2020"] [Result "1-0"] [WhiteElo "444"] [BlackElo "417"] [TimeControl "180"] [Termination "ElmersGLUEwins won by checkmate"] 1. b3 d5 2. Bb2 f6 3. e3 e5 4. d4 exd4 5. Bxd4 Nc6 6. Bb2 Qd6 7. Nf3 Qe6 8. Bd3 Bc5 9. O-O d4 10. exd4 Nxd4 11. Re1 Qxe1+ 12. Qxe1+ Kf8 13. Nxd4 Bxd4 14. Bxd4 Ne7 15. Bc5 Kf7 16. Qxe7+ Kg8 17. Qf8# 1-0 so im very confused as to why on move 11. Re1 the computer says that was an inaccuracy. I pinned the queen(which I thought would be a best) but the bot says takin the knight with my bishop was the best move? can someone explain to me why taking a knight is better than winning the queen in this position @move11?