from typing import Tuple


def neighbors(depths: list[list[int]], x: int, y: int) -> list[Tuple[int, int]]:
    """Generate the list of neighboring points for the given point"""
    max_x = len(depths[0])
    max_y = len(depths)
    result = []
    for _x, _y in [(x - 1, y), (x + 1, y), (x, y - 1), (x, y + 1)]:
        if 0 <= _x < max_x and 0 <= _y < max_y:
            result.append((_x, _y))
    return result