That goes back to (at least) the awful 1942 Wickard v Filburn Supreme Court decision which stated that the grain a farmer grows for his own livestock could be limited by the federal government because it could affect interstate commerce since grain was used in interstate commerce.
Figures...FDR.