The fact they are on the same package means that the electrical signals have a lot less far to travel from memory to cpu, and therefore you don’t have the signal losses or interference from the board having to route memory lines externally.
As a result you would be able to drive a higher bandwidth because you don’t need to be as limiting with the transfer time of signals.