Why do people offer draw if they're losing in a game?
Mostly young children and very new players that.
I mean, if I think I am losing or in a worse position or simply do not like my position, I will offer a draw. A draw is better than a loss, and the worst that can happen is that the other person says no. There is no penalty for asking for a draw in a worse position.

Because they are shameless. The type of people who say 'sorry' multiple times a day and hardly ever mean it. Those type of people.
Because they are shameless. The type of people who say 'sorry' multiple times a day and hardly ever mean it. Those type of people.
sorry
I mean, I offered a draw in this game, because I thought that my opponent would tactically be able to regain the pawn and have a much better position. According to the chess.com CAPS analysis I was still better, but I did not know that during the game. And my opponent accepted the draw.
https://www.chess.com/analysis/game/daily/277058402

Two reasons that I have encountered (both in the same game), blackmail and gamesmanship. My opponent hung his queen with 25 minutes left on his clock. He offered a draw. When I declined, he sent me a message, "**** you, wait." Twenty minutes later, he made a move, probably hoping that I wasn't paying attention.

Two reasons that I have encountered (both in the same game), blackmail and gamesmanship. My opponent hung his queen with 25 minutes left on his clock. He offered a draw. When I declined, he sent me a message, "**** you, wait." Twenty minutes later, he made a move, probably hoping that I wasn't paying attention.
You should report this to support@chess.com
I have offered a draw now and then when I'm one move from checkmate if the opponent seems to be having a really bad day. No one has ever done that for me.
I will also offer a draw when the opponent starts repetition to force a draw because I don't want to waste my time on breaks doing that crap.
As for opponents who offer a draw because they can't stand to lose, I don't usually accept. If it's been a good game, winning and losing is part of chess.
Some people offer a draw because they don't have time to finish a game. I feel that's their problem and the proper action would be for the opponent to resign.
why do they do that, when it is obvious that their opponent would win a few more moves?