Logical fallacy
Affirming the consequent
If P is true, Q follows. Q is observed, so the argument concludes that P is true. Q may follow from other causes or conditions, so observing Q does not establish P.
Examples
If the sprinklers ran, the path is wet. The path is wet, so the sprinklers ran.
If Noor got the job, she would celebrate. She is celebrating, so she got the job.