It's called a Stalemate. If you can't checkmate yet, you must give your opponent an option to move or else it's a draw.
How is this a draw ?

Black moved it''s queen away , then said its a draw.
https://www.chess.com/a/2zGdJGGaSL8KG
I knew I should have got a second queen, but am I going mad or is there a rule I don't know about yet ?
Black has no queen to move away.
At any rate, it's not stalemate. Black could still have moved the king to b2.
You probably just overstepped the time limit.
Black doesn't have enough material to mate white, no matter how badly white plays. Therefore, it is declared a draw.

Thanks kyra ,
but I moved queen to D3 giving check , then it moved it's black to C1 & said draw.
notmtwain , I mean to say king , there was no time limit I was playing the mateo bot
I've edited the original post to say King thanks

I think you overstepped the time limit and because of insufficient material for black, the game was drawn.
It wasn't stalemate, for there it is white's move, and he has plenty of options. If you look at the analysis, it is actually threefold repetition. That exact position was made three times already. It was a while back in the game, however, so that may be why you don't remember it. Double check the analysis, and write down each time that position was repeated including when it became a draw. It should add up to 3.
@notmtwain has it right. The position after Black's 57th, 59th, and 61st moves is the same, so it's a draw by threefold repetition.
Don't worry about getting a second queen when it's easy to learn how to checkmate with a king and queen against a lone king. The lessons at https://www.chess.com/lessons/winning-the-game on king and queen vs. king and king and rook vs. king should help you learn how to give these checkmates every time -- they come up frequently in real games.

Also: the player-to-move, and all of the same castling rights (if applicable) and en passant rights (if applicable) must be identical for the 3 instances of the position.

It doesn't need to be successive, all it needs to happen is that exactly the same position is on the board 3 times.
OP made a mistake here by unnecessarily checking opponent's king and repeating. All he needed to do is push the pawn or checkmate with his queen only. If he doesn't know how (and by this game it seems he doesn't), he should learn it, it will improve his play for sure. And as this is a game against CPU if I am not mistaken, there absolutely no downside here.

well , thanks everyone I never knew this crazy rule , I also thought it was for the same move 3 times in a row - by both players. I will have a job getting my head around this one.
& thanks for link DaMaGor , I put the king in corner next time hopefully.
I couldve sworn draw by repetition had to be succesive but apparently you can claim it even in this case even though this is by no stretch of the imagination a draw. Shows yet again why draws should solely be reached by agreement. Chess has a surprising amount of bad rules that are open for abuse.
Aside from that not being an actual rule, the white queen and black king went directly back and forth, creating the same position three times in five moves. I don't think it can be more successive than that.
I have no idea how you see any "abuse" here.

I couldve sworn draw by repetition had to be succesive but apparently you can claim it even in this case even though this is by no stretch of the imagination a draw. Shows yet again why draws should solely be reached by agreement. Chess has a surprising amount of bad rules that are open for abuse.
Drawing only by agreement is open to serious abuse. What if the position is a dead draw but one player is thirty years younger than the other? He could just keep on playing, refusing to agree to a draw, until his opponent dies of old age.

I couldve sworn draw by repetition had to be succesive but apparently you can claim it even in this case even though this is by no stretch of the imagination a draw. Shows yet again why draws should solely be reached by agreement. Chess has a surprising amount of bad rules that are open for abuse.
Drawing only by agreement is open to serious abuse. What if the position is a dead draw but one player is thirty years younger than the other? He could just keep on playing, refusing to agree to a draw, until his opponent dies of old age.
Hahaha that is a great idea.

I couldve sworn draw by repetition had to be succesive but apparently you can claim it even in this case even though this is by no stretch of the imagination a draw. Shows yet again why draws should solely be reached by agreement. Chess has a surprising amount of bad rules that are open for abuse.
Drawing only by agreement is open to serious abuse. What if the position is a dead draw but one player is thirty years younger than the other? He could just keep on playing, refusing to agree to a draw, until his opponent dies of old age.
But the 30 years' younger person will lose on time because biologically the older person can control his excretory impulses more than a young person.
Black moved it''s King away , then said its a draw.
https://www.chess.com/a/2zGdJGGaSL8KG
I knew I should have got a second queen, but am I going mad or is there a rule I don't know about yet ?