Consider the results of the following code.
x_cm = 3*rnorm(100,50,3)
x_in = x_cm/2.5 + rnorm(100,0,0.1);
y = x_cm + rnorm(100,0,4)
mod <- lm(y ~ x_cm); summary(mod)
mod <- lm(y ~ x_in); summary(mod)
mod <- lm(y ~ x_in + x_cm); summary(mod)
The p-values given for $x_\text{cm}$ and $x_\text{in}$ are extremely small when we look at $y$ regressed on each of those predictors, individually, e.g. they are <2e-16. This indicates that we have a statistically significant result that the associated regression coefficients $\beta_\text{cm}$ and $\beta_\text{in}$ are non-zero.
However, when we perform a regression of $y$ on both of these variables simultaneously, and check their individual p-values in the summary, these p-values are now very large: 0.547 and 0.975 (although the p-value for the F-test is very small ?). This indicates that we have a statistically insignificant result that the regression coefficients $\beta_\text{cm}$ are $\beta_\text{in}$ are non-zero.
These two results regarding the hypotheses that the regression coefficients are non-zero are in direct conflict with each other.
Why is that when we look at the individual p-values after performing a multiple regression, that we have statistically insignificant results? Why are the individual p-values in multiple regression not the same as p-values obtained by performing two separate simple regressions?
While I am already aware of issues with p-values in statistical inference, e.g. p-hacking and data snooping, the phenomenon observed in this simple example makes it seems like we cannot trust p-values at all when it comes to multiple regression, is that in fact the case?
It seems like the results from the multiple regression case tell us that $x_\text{cm}$ and $x_\text{in}$ are not useful in our model, due to the insignificant p-value and thus our conclusion should be that these variables can't be used to predict $y$. But of course they can be used to predict $y$, since $y$ was directly generated by $x_\text{cm}$ and $x_\text{in}$ is highly correlated with $x_\text{cm}$ so it could also be used to predict $y$.
Finally, when I perform a multiple regression in general and I get large p-values for some coefficients, how should I interpret this situation and what should be my next steps?