The deadly encounter happened after at least three burglaries at the business that night, during which a group of people removed marijuana plants from the building and stashed them in vehicles waiting outside, according to court documents released Thursday.