
In the image linked above you can see what I mean. I get that it's not right and not supposed to be done, but I'm trying to understand why.
Also, why is it instead allowed to do this:

If the answer is obvious, feel free to call me an idiot.
Appreciate it, thanks!
As some others have mentioned, you can split the limit of a product as a product of limits only in certain cases, one of which is when the limit exists. In the first case you gave, you implied that
$$\lim_{h \to 0} \frac{1}{h} = \infty$$
However, this is incorrect. The limit as $h$ tends to 0 from the right is positive infinity, but from the left it is negative infinity. Since the limits from both ends are different, the limit does not exist, so you can't split the product.