The difference is that in Gloomhaven, you have no agency to act outside of the prescribed areas of play. You can roleplay while playing Gloomhaven, certainly, but it is not a role-playing game.
Whether actually having game mechanics for things like social interactions is a good thing or not is...