The smaller diameter inner pipe at the cylinder head may be for strength, as that is the focal point of vibration and mounting stress. As well, smaller pipes leading to larger pipes provide a sort of "expansion chamber", which technically can help in scavenging the exhaust. IIRC, the expanding gas as it enters the larger pipe, produces a bit of a lower pressure behind it, which helps draw the rest of the exhaust out of the cylinder.