I'm of the opinion there's never a grand plan.
The fledgling new UN was probably excited to solve All World Problems and thought they'd bang out this Middle East thing. British Palestine? That won't do, let them have their own state. Also let the Jews have their own state nearby, not any bigger. Job well done.