Moisture content.
Bread will lose moisture to the atmosphere and so become hard whereas a cookie (biscuit to us brits) will absorb moisture out of the atmosphere and become soft.
That’s why a jaffa cake is a cake.
Edit: OK, OK! I made the mistake of thinking it was the same process for bread as it is for cake! Enough with the corrections! Lol
Latest Answers