It's not that it works better, it's that it saves you money. If you know you'll be using a 1050 Ti, then you know what level of performance, best case, you'll be getting in games. All you need is a CPU that reaches that performance level. You could spend more on a faster CPU but it won't increase game performance since the 1050 Ti can only work so fast.
Of course, if you have other needs besides gaming then you might want a faster CPU, but you didn't mention that. You just mentioned gaming.