The first cause sees God as a factual necessity, as the causal explanation of the universe, while the ontological argument sees God as a logically necessary being
Aquinas was concerned with why there is any motion or causation at all and why there continues to be motion and causation, not just the beginning of a chain of events
The universe is 15 billion years old. Scientists have discovered a lot about its origins and development. However, that does not explain why there is and continues to be a universe.
It is quite possible for all contingent things at different points in time to not exist and later exist. However, this does not mean that at some time nothing existed.
We assume that cause follows effect, because our minds habitually see causes and automatically link effects to them. Hume argued that just because there is an explanation for every event in a series there may not necessarily be a cause for the whole series. We simply consider that every event must have a cause as that is the way we make sense of things.
Hume concluded that we expect all future experiences to somehow conform to past experiences, and this reinforces our belief that A causes B. We see 'uniformity of nature' because our minds work that way, and we simply think that A and b must be connected.
However, according to Hume we cannot always assume that every effect has a cause. If Hume is correct, this is a serious criticism of Aquinas' first two ways. For Hume it is not certain that the beginning of existence has a cause and so the argument for a first cause fails.
David Hume also considered whether it is necessary for the whole universe to have a cause just because everything that is within the universe was caused by something.
This idea fits in with what we now know about the world as it evolved from primordial matter and so effectively actualises itself, and so it is completely possible that there was no cause of the universe, or that it had always existed and so had no beginning.
According to the fallacy of composition, just because contingent things in the universe have a cause it is not possible to simply conclude that the universe has a cause.
Anscombe (1974) criticised Hume's argument by pointing out that you could conclude that 'existence must have a cause' without believing or knowing that 'such particular effects must have such particular causes'.
Anscombe also suggested that even if it is possible to imagine something coming into existence without a cause this tells you nothing about what is possible in reality.