yeah Marvel was desperately trying to make the Inhumans look good at the expense of the X-Men. But because the Inhumans as characters are always super arrogant it was really really hard to make them even look vaguely sympathetic when they released a gas cloud that benefits the Inhumans but triggers a genocide on the mutants as a trade off.
The sad part is that without the "Inhumans are the new mutants" push, we probably would have gotten Hickman in the X-men 4 years earlier, not to mention Matt Fraction's take on the Inhumans (we don't know exactly what would be, but reports said it would have a GoT inspiration) which could actually have helped them gain popularity.