Let's consider the two beams as two springs which will deflect under the load $P$ the amount:
$$ D = \frac {P*L^3}{3EI}$$
So K or stiffness of these two springs is:
$$ k = \frac{P}{d} = \frac{3EI}{L^3} $$
These two springs are working in parallel, each sharing half of the force, therefore half of the momentum (if they were to act in series they should have been attached lengthwise).
If they were pinned together the combined composite $I$ of the new beam would have been $8I$ because the height of the beam would have doubled and we know $I$ is related to $H^3$.
Or consider initially the top beam is taking all the load and deflects fully under the load, then we add the second beam right next to it and the new additional support decreases the deflection by half. Now if we slide the second beam under the first, it is the exact same situation, each beam shares half of the force.
This is similar to old car leaf springs.