Of course they knew they gear was down shortly after takeoff.
The classic excuse "technical fault", or perhaps somebody forgot to check the gear pins?
For some reason they pressed on, at least when fuel got low a good decision was made. Without a transparent investigation published we'll never know.