Jeph Loeb’s explained that most of the upcoming Marvel television programming (including Luke Cage and Iron Fist) predates Avengers: Infinity War, and explained this was due to production differences between shows and films, as well as secrets being kept in house.
Loeb added that the Kree-Skrull war storyline was not one that has touched the X-Men universe due to legal rights.
As the Marvel exec said, it’ll all work out fine in the end, and the company is not all that worried about making sure each of their shows fits within the cliffhanger of Avengers: Infinity War.