I thought you get XP for peacefull resolutions
I think it’s a mixed bag. Yes, sometimes you do, sometimes you don’t, and even when you do it’s not necessarily equivalent to XP you’d get taking a different approach.
Personally, I think I’d prefer something more like a milestone approach to levelling up that could avoid niggles like this, but I’m not sure how that would work in a computer game. It might be too onerous to calculate appropriate milestone XP rewards for everything independently, and might still be open to exploitation or not satisfying for players. While I like the sound of it, it’s not something I can recall seeing implemented so I may not actually enjoy it in practice.