Which of the following is an invalid cause-and-effect sequence?

Kimberly attended the wedding because she was invited.

John went home because it was getting dark.

Mark was happy when he heard that the tickets were free.

Joseph was unhappy, and then the phone rang.

Joseph was unhappy, and then the phone rang.