Completely agree with this, this just happened to me. The resigned button has no business being in the analyser, and even outside of that should not be placed so close to a button that can be tapped rapidly multiple times.
Remove resign buttons from the analyze tab in daily chess.
It also just happened to me . Just wanted to go back a few moves in analysis, by accident I clicked on resign and confirm in rapid succession pffff.

I read yesterday that this problem has already been many times reported, by Chess.com, but it seems they ignore the problem and don't plan to resolve the problem.

https://support.chess.com/article/295-how-do-i-report-a-bug-or-make-a-suggestion
It has been mentioned before but if its something people want to change please make a suggestion to staff this way.
These are the controls at the bottom of the analyze tab
Sometimes, you want to go back 1 move. notice how the resign button is so close to the go back 1 move button.


Sometimes you want to go back 2 moves. Look where the confirm button is in this interface
And for the record, this is where my attention tends to be when I think I'm clicking this back button.
This is horrible design. Accidentally resigning is one of the worst things that can happen when interacting with this interface. It should not be this easy to do on accident.
Removing it from the analyze tab should alleviate a lot of these interfaces. This is not where you should be resigning from anyway. Moving the "yes" button further away from the interface should help too (the middle of the chess board is probably more appropriate)