I am no expert and you are higher rates than me but I feel obliged to give you my input..
In the first game you:
1. Exchanged your knight on d4 instead of leaving it on f3.
2. Your queen and rook were occupied on the queenside.
3. After your bishop sacrifice on f7 you were down on material throughout the game. It did disrupt kingside castling but perhaps it could have been more useful in the endgame.
In contrast in the second game:
1. Your kingside attack and capture of a rook.
2. Your exchange of material.
Led to a more decisive game and you winning. Hope that helps...
I am posting two games, a win and a loss. I believe the two of them demonstrate my inability to find good ideas in middle-end game positions. Feed back is most appreciated.
Game 1
Game 2