As much as I'd like to avoid criticizing "moore's law", this is a good example of why we shouldn't be using the term unless the effect described is a properly scientific description of a universal truth. Both of these statements are mere observations of trends (short term ones in the grand scheme of things). Nothing about the trends observed in "eroom's law" must hold true in the future and, similarly, nothing about…
> There is no causality in either of these "laws", and that fact makes them mere observations of trends rather than proper scientific laws. There's a lot in science that's mere observation. The law of gravity is one example, since nobody knows where gravity actually comes from.
Moore's law does not pick up on any causal pattern that connects transistor size to time.
The universal law of gravitation does capture a causal pattern that connects masses to other masses.
Whether we "know" what causes gravity or otherwise is irrelevant.