As the replication crisis grows, or we're simply becoming more aware of it, I do wonder how much of this is due to poorly aligned incentives causing researchers to error on the side of what will get the most attention versus researchers in general simply being sloppy. Much discussion has been had on what to do if it is the former but if it is the latter, what needs to change in the education process so studies are be…
It has probably been a mistake to have so many articles that are effectively "We measured A and its value suggests the following theory" rather than "To test theory B we measured A and found it did(n't) agree" I reckon that lack of a good theory is the by far best predictor for non-replicable results.
One way to mitigate it is to pre-register studies as it's done in some areas like clinical studies.