Husband gets soft during sex

Ok so my husband used to have some difficulties down there, where he'd just get soft in the middle of sex .... I wonder why could that have been? It hasn't happened in a while recently but I just wonder why back then ... I was blaming myself