Molasses has hygroscopic properties, meaning it attracts moisture. If you've noticed desserts made with molasses seem more fudgy and dense, that is why.