My man gets turned off during certain positions

So me and my man have sex and it’s good but every time I try to ride him he goes soft idk why any suggestions? And like as soon as he gets hard tries to put it in so I can ride and soft again this doesn’t happen with other positions so any insight?