$X$ follows normal distribution $\mathcal{N}(0,1)$. Find distribution of $X^2$. My question is why we are allowed to calculate this as follows:
\begin{align*}P\left(-\sqrt t \le X\le \sqrt t\right) &=F_X(\sqrt{t})-F_X(-\sqrt{t})\\ &=\frac{\partial F_X(\sqrt{t})}{\partial t} - \frac{F_X(-\sqrt{t})}{\partial t}\\ &=f_x(\sqrt{t})(\sqrt{t})^\prime-f_x(\sqrt{t})^\prime(\sqrt{t})\end{align*}
I mean how is it possible that we have derivatives here? Why to apply this strange formula for derivatives at the end (it does not seem to be a normal product rule).
It's not a product rule but a chain rule. You have $(F_X)'(t) = f_x(t)$ so $$(F_X(\sqrt{t}))' = F_X'(\sqrt{t}) (\sqrt{t})' = \frac{f_x(\sqrt{t})}{2\sqrt{t}}. $$