Post hoc ergo propter hoc
Latin for "After this, therefore because of this".
An event that follows another need not be caused by it, even if generally events of the first type cause events of the second.
See also cum hoc ergo propter hoc.
Both are special cases of non causa pro causa.