idk what's happening

last night my crush told me he liked me and asked me out. naturally I said yes and was over the moon! he was so happy and we talked for a while. this Moring he texts me and says he just got out of a relationship and can't handle another rn and needs time. I was supposed to see him today but he didn't come and I feel like our friendship is now ruined and I'm confused I was so happy now I'm crushed! please give me advice!