For the purpose of this post, accept that there is some critical threshold below which a finding is declared to be statistically significant.
The p-value is a statistic because it is a function of the data.
Statistics are random variables. We can put confidence intervals around statistics.
Why don't we put confidence intervals around p-values? Or, equivalently, why don't we test the hypothesis that the observed p-value is below 0.05, say?
One answer could be that it would be hard to calculate analytically, but bootstrapping could solve that issue.