Essentially it has to do with history. Rail tunnels in the uk vary in sizes due to different builders and standards throughout history. This means that their loading gauge (how high off the tracks) needs to fit these tunnels. To maintain space in the coaches they adopted a pear like shape.