Post hoc states that one event led to the following event that came after it. Since event B came after event A, event A caused event B.
This is fallacy because there are things such as coincidences, and an event coming after one doesn't mean they have to be related in any way.