How is this a stalemate? The opponent ran out of time, resulting in a stalemate due to white's unavailable pieces.
I'm assuming Black ran out of time?
That's not a stalemate. It's a draw by insufficient material; White cannot possibly checkmate with only a king, so a timeout for Black would be a draw.
How is this a stalemate?
It isn't.
You really need to learn what "checkmate", "stalemate" and "draw" means. You can't really play chess without it.
How is this a stalemate? The opponent ran out of time, resulting in a stalemate due to white's unavailable pieces.