That poor magpie looks like it might have been trapped behind chicken wire and kept poking its head through the holes, hoping to get out.
I've seen that "look" many years ago on my uncle's farm where he'd use live bird traps to capture pigeons and sometimes magpies would get in them by mistake.