Giffen Goods & Complementary Goods
If $X$ and $Y$ are complements, an increase in the quantity demanded of $X$ also implies an increase in the demand for $Y.$ This is why both the price and the quantity of $Y$ will also have to increase.