I get this. I had no idea it was OCD until I was diagnosed as OCD.
Now I just wait for it to pass because it always does. Hard to get through but it always passes.
I experienced this loss of all emotions a few yrs ago - it was ROCD but also a mix with depression. maybe its both, definitely ask your doctor. I recovered and got all my normal feelings back but in my case I needed medication for a while