Education 1098-T

Turbotax program said, not qualified for AOC or Lifetime, but still used 8863 Lifetime Credit, why didn't it use 8917?