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.

A wet flagstone between a lawn sprinkler and a rain cloud

Examples

If the sprinklers ran, the path is wet. The path is wet, so the sprinklers ran.
The wet path is consistent with the sprinklers running. Rain or a hose could have made it wet as well.
If Noor got the job, she would celebrate. She is celebrating, so she got the job.