Have you ever been close to someone and found out they committed a terrible crime?

I’m feeling so conflicted right now.

Someone close to me was just arrested for rape and murder. Like my mind is spinning. How the hell can this happen? I feel sad for the family of the murder victim but I also care for the murderer. He was always so nice and sweet and a family man. I am having nightmares because I am so distraught. How the hell do I get through this? How am I supposed to feel?