As muddy sediments compact, the oil and gas are squeezed out and move into more porous and permeable sandy layers.
(the oil and gas; are squeezed; out) (the oil and gas; move; into more porous and permeable sandy layers)
the oil and gas the oil and gas
are squeezed move
out
into more porous and permeable sandy layers