Light doesn't work when placed behind a wall, 2D Tilemap

Godot Version

4.2.2

Question

PointLight2D illuminates the entire tile if light is behind/on top of the tile even though the tile is occluded.
So I’m working on a game where I can walk behind objects using the Y-Sort and my player has a light source at his feet, and every time he walks behind a wall , each individual tile lights up instead of remaining dark.
This is when the light is on the + sign :


And this is how it looks if the light source is behind the wall :

How can I make so that it doesn’t make the tile bright but the light remains behind ? ( eventually illuminating upwards as it should )