The judge did not make conclusions about "the entire body of scientific evidence", only the evidence presented to them. Nor did they make conclusions on whether contaminates in Zantac were cancerous. She concluded there was insufficient evidence to prove that Zatnac caused the plaintiff's cancer. And that does not mean that the evidence doesn't exist - if the plaintiff's attorneys failed to present a sufficient legal case, that doesn't mean the science is wrong or doesn't exist.
Further, one judge is not an arbiter of whether science is sound or not. In fact, the American legal system is infamous for its persistent reliance on fraudulent forensic techniques even well after there's widespread consensus that they're unreliable if not outright fraudulent.
Polygraphs, writing analysis, fiber analysis, hair analysis, fingerprint analysis, drug-sniffing dogs...all have long been found to be far less reliable than courts treat them to be.
The latter is probably the most egregious example, with the Supreme Court agreeing that such dogs are actually worse than a coin flip in terms of correctly indicating a "hit" on drugs...and then shrugged and said dogs were still a valid legal basis for further, more invasive searching.