Shortbread has a higher ratio of butter to flour than a sugar cookie. Also a sugar cookie is usually softer and will have an added leavening agent like baking powder. Shortbread does not a leavening agent like baking soda or powder.