I hurt boyfriend’s feelings? :(

We had sex last night and afterwards, I commented “That was quick” but my Bf didn’t say anything in the moment so I didn’t think anything of it.

The next morning he pulled me aside and said that hurt his self esteem.

What can I do to make it up to him? How can I better encourage him in life and through sex?