Cracks result from shrinkage during curing or structural stress, while expansion joints accommodate thermal expansion.