Answer: it is Post Hoc Ergo Propter Hoc.
Explanation: Post Hoc Ergo Propter is a latin expression that means "after this, therefore because of this". It a logical fallacy and the reasoning is "Since event Y followed event X, event Y must have been caused by event X. It is a mistake because correlation appears to indicate causality.