I don't get why you moved your knight to g4 on 12 or thought you're knight couldn't avoid capture. It was safe on f6.
White must have had something else to do.
It definitely wasn't chess reasons, you threw away a piece for nothing and traded down to make his job easier.
As for your questioning near the start, it's a very common opening, the Scotch. Nobody is forced to play the Ruy Lopez.
As for the 'why my opponent did this, I'll never know'. He didn't want to leave his bishop hanging, and taking yours gave him a tempo to take the free pawn you gave him.
Okay, so here's the game we played up until my opponent's resignation.
Please help me figure out the reason for my opponent's resignation.