The fallacy is to assert that because two events occur together, they must be causally related. It's a fallacy because it ignores other factors that may be the cause(s) of the events.