There's also usually a mismatch between what older scientists and younger scientists think are the right approach to studying something.
But generally, science is pretty good. You're reading small slices and assuming it actually represents all of science. It doesn't. Please give me a better sense of what ground your ear is on. I don't think it's generally representative of most science fields. Science has a cool thing where you could post totally fake data, but there are enough actors that also would question it if it's entirely unreproducible. Most issues are small nudges or selective data (e.g, retesting when data doesn't support your expectations), not blatant lies. The blatant lie stories you hear are not actually common and I'd love to hear where you think they are.