For my H the marriage has always been great until this crap starts. I actually received an email from him a few months ago and he said some days he is really into us and others he just wants to be alone. He doesn't know what to do with those feelings. So I just am taking things daily and going from there.
Just keep praying.
If you focus on the past, you ruin the future. You can only live for today.