Post hoc fallacy
The post hoc fallacy means "after this, therefore because of this". Its Latin name is Post hoc ergo propter hoc. It is a logical fallacy. When event B happens after event A, a person might think  "event A must have caused event B".