Post Hoc Ergo Propter Hoc
A Post Hoc, Ergo Propter Hoc, which is a form of Non Causa Pro Caua, is incurred when it is stated that one thing is the cause of another, just because the second precedes the first in time. -
A happens or happened before B So A is the cause of B
It is true that causes precede effects, but A and B could be caused by something else or have no causal relationship
example:
The rooster crows before dawn, Therefore the crow of the rooster causes the Sun to rise