Dogs don’t ever know if their masters are a-holes.
In this case, the dog was just following the "pack", and imitating them. He sensed their fear, and decided he should be afraid as well.
Lying on his back and looking away is classic submissive behavior for a dog.