Why does being underweight cause sexual dysfunction?

I searched about it but there’s no underlying cause to why. Just how it can cause low sex drive. I am underweight and experience premature orgasm and difficulty getting turned on but I don’t know how being underweight causes that.