I think maybe give him some time and space to settle and then try bringing it up gently.
These issues men are so sensitive with!
My partner has some ED issues, not all the time but certainly when he's tired, under stress, things on his mind etc. he loses it if he's too cold, too hot etc and for ages I thought it was me. We are young. He's not in his 30s yet so you can imagine how I felt for ages. I was so self conscious, thought he was gay at one point and I got so distraught and upset and made such a deal and stupidly/selfishly made it all about me didn't I. It got worse where he couldn't get hard at all. He even cried about it at one point.
When I started to realise i was making it worse and this was his issue, when I gave him time and dropped the pressure on him it got so much better. I even spoke to a friend about it who admitted the guy she was dating was the same! I realised it then that it happens and it can be dealt with.
Fast forward a year, It is there, it is underlying but it's improved to the point where it's not been an issue for months. our lovemaking is great and frequent and I have no doubt he fancies me. He's got his confidence back and if he feels too tired or stressed rather than trying to make it work he tells me and we try again when he's more rested.
Give him space because most likely he will be embarrassed about it. Drop the pressure because that will work against you both. But you do need to talk about it at some point down the line because it can be crippling in a relationship, so give him the confidence and the trust he needs in the meantime to be able to eventually open up about it.