The congress writes statutory law. Courts can and do make common law.
A federal court MUST rule within the confines of the constitution and constitutionally valid federal law. In doing so, it would over time be creating a valid federal common law. But a valid Court decision does NOT make national law and if valid, is only binding on the parties of the case. It could be mandatory or persuasive case law for similar cases, but not as national legislation.