In the following Wikipedia page about the chain rule, when dealing with the limit $\lim_{x \to a} \frac{f(g(x)) - f(g(a))}{g(x) - g(a)} \cdot \frac{g(x) - g(a)}{x - a}$ a new function $Q(y)$ is introduced to deal with the issue of division by zero when $g(x)=g(a)$. My question is why is it necessary to introduce $Q(y)$? If the limit of each of the factors in the above product are defined in their own right, doesn't that mean that the limit of the product is also defined? After all, division by zero is an issue frequently circumnavigated when taking limits.
Edit: What if the original limit was defined as: $$\begin{align} \frac{d}{dx}\left[ f(g(x)) \right] &= \lim_{h \to 0} \frac{f(g(x+h))-f(g(x))}{h} \\ &= \lim_{h \to 0} \frac{f(g(x+h))-f(g(x))}{g(x+h) - g(x)} \cdot \frac{g(x+h)-g(x)}{h} \end{align}$$
In this case, does the division by zero arise from the fact that $g(x+h)$ may equal $g(x)$ an infinite number of times as $h \to 0$?