Why does my dandruff smells bad?

Like its an old oil. I have seborrheic dermatitis I was diagnosed in 2017 and my dandruff just smells like dried used oil and the back of my ear always has an oily and it smells like cottage cheese
Why does my dandruff smells bad?
Post Opinion