Why does melatonin make it uncomfortable to sleep?

Everytime I take melatonin I can't sleep comfortably, I don't know if this happens to anyone else but I end up moving a lot and stuff
Why does melatonin make it uncomfortable to sleep?
Post Opinion