They probably were given a command to stay at 4000 above ground (AGL) level after takeoff. The plane was to level off until further instructions from ATC. Since the plane was set to sea level on takeoff, the plane tried to level off at 4000 ft above sea level which…is not good. The plane was pitched down to descend.
Isn't the airport in Dubai barely above sea level anyways? I mean, if the difference between ground level and sea level is less than a hundred feet, then it seems like it wouldn't account for a plane thinking it was at 4,000 feet when it was really at about 200.
Oh no. So, the computer was actually trying to keep the plane pitched down to avoid ascending naturally and keep the altitude stable. This is really, really bad.
Well, the autopilot was disabled, and the flight director (which at a 1 sentence level is a visual indication of what the autopilot would do) was trying to keep the plane level at the configured altitude
The flight director did the right thing — displayed how it would manage level flight
The pilot did the wrong thing - copied the misconfigured flight director instead of flying the plane