In our case it was seemingly revenge for chasing him/her out from the previous day's break-in. He/she had originally found some peanut butter and other goodies from our trailworker supplies in the garage two days before, then the next day broke in through a screened window in the house proper (it was hot, we were leaving windows open during the day while away) and got disturbed by one of the guys who came home mid-day and found the bear trying to open a 5 gal plastic bucket of honey from his beekeeping activities and in fright fled out another screened window. The following day he came back and broke in again, shat on the rug and still couldn't open the honey container....we closed windows after that and he didn't come back.