Many people are selfish and some people are mistaken but wrongly believe they are right in being pushy about their beliefs. Others may have gotten away with other things without reprimand and become more and more emboldened. Others may have been incorrectly told that they are special, right, etc. and do as they please without thought to their limits and other's rights.
With regard to the woman in the photo, she could have a mix of all these things going on. I believe that if she feels her religion won't allow her to do her job, she simply needs to find a new one. I hope she and her hypocritical rear end rot in jail. If she worked for me and pulled this kind of stunt, she would be tossed faster than a hot potato. I do not care whether she has been elected or not, there must be a fast resolution for people who carry on like her and if not, the laws on the books need to be updated.