A cause-and-effect sequence is used to describe the reason or reasons that provoked an event, cause and effect sentences are usually linked through conjunctions such as because, therefor, so, since, etc.
Option A explains that because they were out of milk, he/she went to the store, the cause was running out of milk, and the effect was going to the store.
Option C explains that he/she got wet because of the rain, the cause is the rain, the effect is being wet.
Option D explains that because of poor tire pressure (cause) the tire got shred (effect)
The only option that is not a valid cause-and-effect sequence is option B, the house being a mess and the friend arriving have no relation between them.