I’m really not sure this is a clear support group op, it’s an online forum. The members do give a lot of support, but there is clearly some things they won’t support, and this behaviour is one of them.
If you’re having mental health issues you need to speak to your gp,
If you can’t cope with the fact he’s no longer interested you need to change job, you can’t make yourself even more ill.
Look it was something and nothing, some flirting, some texting, some kissing, he wasn’t looking to declare his undying love and marry you. It was a bit of fun for him. I get it was a lot more for you, but it wasn’t for him and you need to accept that.
He got busy with Covid and the redundancies, and you reacted badly. The behaviour has scared him, as it would most folks in this position, and he’s trying to put this back where it should be. Rightly so.
You need to either accept that and stop now, focus on your marriage and mental health, and continue in your new role, or leave.