In the 18th century, swag began to be used in reference to goods acquired by unlawful means. The meaning was joined with bag and then became associated with an article which is what thieves use to carry their stolen goods in - like your average grocery store bag or backpack! These days people just call them 'bags'.