Agree, the contents of the pet carrier likely were the rabid bobcat’s intended target. The humans just got in the way.
I doubt that it was lurking under their car in anticipation of them bringing out a cat in a carrier. It had apparently attacked a neighbor, earlier.