Short Answer
Everyone has ups and downs in feeling connected with Allah and in the strength of their conviction in Islam. This afflicted the Companion Hanzalah and even Abu Bakr. This can be a test from Allah. Part of our purpose in life is to worship Allah: “I have not created the Jinn or Humans except to worship Me.” [Quran; 51:56] You might worship Allah with the ulterior motive of wanting to feel good, but that should not be the purpose. Allah may take away the good feeling when you worship in order to test you and help you raise your intention to a higher level. Keep doing what you are supposed to do and know that sometimes the feeling will be there and sometimes it won’t.
Version 0.25
Shaykh Mustafa Umar