We can almost guarantee it is not because of ability or lack thereof. This usually comes down to

  1. Interest level.
  2. Frustration level.
  3. Memorizing meaningless procedures instead of learning meaningful concepts.
  4. Inability to overlook the (apparent) lack of relevance that the subject has for your present and future life.