Why won't the villager take the bed and be panicked?

minecraft 0 380

Why won't the villager take the bed and be panicked?