Suppose that one planet spent half of it's orbit above the ecliptic and half below - when it was above, of the other planets would be "below" it - and their gravity would add up so that (on average) they's provide a very small downwards pull towards the ecliptic. When the planet is below the ecliptic, all of the other planets would be "above" it and the sum of their gravities would be a small upwards pull towards the ecliptic.