What do you do to fix that?
First realise that God has not left you. If there is a problem, it's on your side. We can lose fellowship but not relationship. Unconfessed sin or refusing to obey God on an issue (also sin) will leave you feeling distant.
A deeper issue, one not your fault, is God wants us to live by faith. Young (and not so young) Christians will go through a patch where God seems to have gone missing. If we have been having fellowship and studying God's word, we will know that God has not left us. Some Christians get hooked on the feeling of joy and peace. They begin to value the feeling more than the Lord Himself. We must learn to live by principle, not by feelings. Emotions are up and down. Even the weather affects many people. God wants stable and dependable servants that He can trust to obey Him whether it feels good or not.
People who live from meeting to meeting, getting hyped up by the singing and then going into a sulk at the slightest inconvenience, are useless in God's kingdom. Those who trust and obey no matter what, are of great value in God's work.