I know it’s hard op, but I think he has behaved rather decently tbh.
He didn’t feel he had the headspace for a relationship while he is spending these precious last few months with his dad, so instead of keeping you hanging and uncertain, he has ended it.
I think you need to take him at his word though, Don’t keep hoping for his return.
Nor should you be rushing to “console” him in the event he does come back.
You also get to decide and consider what you want out of a relationship and when you choose to put your heart and soul in to
sonething.
So although it’s hard, I would start putting a lot of energy in to your work, friendships and hobbies, and yes, start dating again.
If he does come back he will have to really fight for you as you will have plenty of other offers!
Right now you are disappointed and feel a little hurt but love is not enough op. Timing, logistics, circumstances all play their part too. Maybe this one just wasn’t meant to be.
Please do not wait around for him. He will be grieving for a good while and you deserve someone who can commit to you now, not in a year or so. Please protect yourself emotionally.
Take care 💐