The Markov inequality gives an upper bound to the probability of a non-negative rv:
$$P(X\geq a) \leq \frac{E(X)}{a}$$
in terms of the mean of the random variable. But the next, rather unmotivated step in this topic (distribution bounds) is to say... Well, since the exponential is a monotonically increasing function, we can just instead do this...
$$P(X\geq a)=P(e^{tX}\geq e^{ta}) \leq \frac{E(e^{tX})}{e^{ta}}$$
the numerator on the RHS is the moment generating function of the variable. And the last inequality is the Chernoff bound.
So I guess we can say that as long as there is an MGF for $X$, there is a bound. That sounds remotely useful. But perhaps the intention is to get some expression where the probability decays exponentially to conclude that asymptotic values are rare, motivating the introduction of the exponents in the MGF.
But I don't know the reason... What is the motivation to all of a sudden do the switch from $X$ to the MGF?


The motivation is greed.
For any positive increasing function $\phi$ one has the inequality $P(x\ge a)\le E[\phi(X)]/\phi(a)$. The faster-growing the function $\phi$ is, the tighter the upper bound looks, as a function of $a$.