Drowned and zombies are not pathfinding correctly to villagers behind walls, unless they have direct line of sight. This means they don't get aggressive through glass or try to get to villagers in their houses.
Linked issues
duplicates 1
Comments 4
Forward-resolved towards MC-148379
Meanwhile on Bedrock, Drowned & Zombies are now targeting villagers through 10-20 block thick "walls" and are extremely aggressive.
Haven't had the "targeting through solid walls" with mobs on Bedrock Edition until 1.10.