Phonosemantic compound. 鬼 represents the meaning and 厌 represents the sound. Simplified form of 魘.
Component: 厌
Component: 鬼