draw by stalemate


[Date "09/17/2021 11:06PM"]
[FEN rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1]
[White "Zaaain714"]
[Black "jenakacirce"]
[Result "Game Drawn"]
[WhiteElo "173"]
[BlackElo "168"]
[Termination "Game Drawn"]
1.e4 {10:00} e5 {9:58} 2.a4 {9:56} d5 {9:43} 3.f3 {9:51} dxe4 {9:30} 4.Ra3 {9:48} Bxa3 {8:58} 5.fxe4 {9:43} Bc5 {8:41} 6.d3 {9:36} Qd4 {8:27} 7.Qh5 {9:20} g6 {8:01} 8.Qg5 {9:03} h6 {7:43} 9.Qf6 {8:56} Nxf6 {7:40} 10.Be3 {8:50} Qxe3+ {7:31} 11.Ne2 {8:47} Qg5 {7:12} 12.g3 {8:36} O-O {6:55} 13.Nf4 {8:32} exf4 {6:44} 14.gxf4 {8:31} Qxf4 {6:35} 15.Ke2 {8:29} Qc1 {6:26} 16.Na3 {8:16} Qxb2 {6:15} 17.Bh3 {8:10} Qxa3 {5:51} 18.Bxc8 {7:59} Qxa4 {5:39} 19.Bxb7 {7:58} Qxc2+ {5:28} 20.Ke1 {7:43} Nxe4 {5:11} 21.Bxe4 {7:38} Re8 {5:04} 22.Rf1 {7:27} Qc1+ {4:49} 23.Ke2 {7:25} Qa3 {4:28} 24.Ke1 {7:17} Rxe4+ {4:09} 25.Kd2 {7:14} Rh4 {3:45} 26.Rd1 {6:55} Rxh2+ {3:41} 27.Ke1 {6:48} Rh1+ {3:32} 28.Ke2 {6:46} Rxd1 {3:06} 29.Kxd1 {6:40} Qxd3+ {2:58} 30.Ke1 {6:38} a5 {2:49} {Game Drawn}
A stalemate happens when on of the playing does not have any legal moves to play
and is not in check and is the one on the move.
The OP did figure it out with no assistance.
I've run a lot of scholastic tournaments and have had players claim that they were in stalemate because their king had no moves. When I let them know that they have other pieces that can move the emphatic response is that their coach (maybe a relative) told them stalemate happened when the king had no moves and that the game was over. Rather than pulling out the rulebook for a player with a single digit age I prefer to point to a board set up in the initial position, ask if the White king has any moves, and then ask if that is stalemate (and, when they say no, my follow-up question is why not). That way they end up understanding the rule instead of thinking it is just a strange rule in the rulebook.

Hi! My name is Lauren Goodkind and I’m a respected chess coach and chess YouTuber based in California:
https://www.youtube.com/channel/UCP5SPSG_sWSYPjqJYMNwL_Q
The reason why it's a stalemate is because your opponent's king was not in check and had no legal moves left when he/she had to move.
I made a video on how to avoid stalemate in chess: https://www.youtube.com/watch?v=WZiZPW0pbZc&t=1s
I hope that this helps!