The Simple Past is often used in cases whee the sequence of events is clear, unless one wants to add emphasis, The word 'before', for example, makes the sequence clear.
But consider these examples. Tom came home. His wife cooked dinner. Tom came home. His wife had cooked dinner.