Because nobody will hire an >50yo in tech. Yes, there are exeptions for managerial roles (not tech, just tech adjacent at best) or extremely rare competences (live in memory AS/400 debugging anyone?).
Tech is the most agist sector, well, ok, maybe behind olympic sports or lingerie modelling.