I fell in love with my housemate they ghosted me and now it’s awkward help

As the title reads my housemate and I got super close even intimate. Then after a really nice day together they told me they don’t want to be romantic anymore. Then they pretty much ghosted, left the house for a month without saying anything. I have a huge abandonment wound I didn’t fully realize until this situation. Now they are back in the house and we had a short conversation about it. they told me they tried to communicate that they’d be taking some space and i must have not understood. if I’m being honest it still hurts and I’m not ready to even be friends with them yet. This is hard for me because they do have qualities I admire but I don’t want to be vulnerable with them again incase they take all my vulnerabilities and disappear again. I really need people who want to be in my life longterm. They told me they had dreams that I was really sad and in emotional pain but didn’t check in for a month. Now that they are back I’ve just been avoiding them when I can and I don’t want to live like this but I don’t want to let them in again.