It hurts because it matters. If it didn't hurt, what would have been the point of the marriage?

And you didn't do a damn thing to 'deserve' it. Don't frame it in those terms. "Why" questions just produce infinite feed-back loops. How, what, when, where questions -- these can produce some awareness and insight.