The resentment isn’t that they refuse to fight but that service is mandatory for everyone else. We don’t resent the Amish but some might if there was a draft.
We could accommodate the Amish, the way we accommodated the Quakers, by telling them "OK, we'll make you a medic. You won't have to carry a rifle, but you will have the same risk of dying as everyone else".