I know the Chi-squared test statistic is defined as:
$$\chi^2=\sum_{i=1}^n\frac{({O_i-E_i})^2}{E_i}$$
where $O_i$ is observed data, and $E_i$ is expected.
I also know that the $\chi^2$ distribution is essentially defined as the sum of squared Gaussian random variables.
Does that mean that in order to use a Chi-squared test, one of your assumptions must be that $\sqrt{\frac{({O_i-E_i})^2}{E_i}}$ follows a Gaussian distribution? If so, is there an explanation/proof as to why this is a reasonable assumption?
Note: I didn't find any of the answers here super helpful: Why the chi-squared statistic follows chi-squared distribution?