Post hoc is a particularly tempting error because temporal sequence appears to be integral to causality. The fallacy lies in coming to a conclusion based solely on the order of events, rather than taking into account other factors that might rule out the connection. Most familiarly, many superstitious beliefs and magical thinking arise from this fallacy.
When B is undesirable, this pattern is often extended in reverse: Avoiding A will prevent B.
I can't help but think that you are the cause of this problem; we never had any problem with the furnace until you moved into the apartment." The manager of the apartment house, on no stated grounds other than the temporal priority of the new tenant's occupancy, has assumed that the tenant's presence has some causal relationship to the furnace's becoming faulty.
From With Good Reason by S. Morris Engel, Fifth Edition p. 165:
More and more young people are attending high schools and colleges today than ever before. Yet there is more juvenile delinquency and more alienation among the young. This makes it clear that these young people are being corrupted by their education.