Pakistan declared because in their minds they are a big team with superstars playing at home against minnow Bangladesh. Lack of respect for the opposition played a big part here.
It has nothing to do with lack of respect. Misbah and even other teams have declared for far less and won easily.
The difference is that Pakistan of the past specifically Misbah could read the pitch properly and plan accordingly and UAE wasn't a phata.
The players Shehzad, Misbah, Younis, Azhar, Shafiq and Sarfraz were all excellent players of spin in the UAE especially YK and Misbah who were the best at reading it. Secondly they all knew how to play a test match and at what pace.
They were an extremly gelled team.
This current Pakistan can't read the conditions at all. Firstly they have rubbish spinners and pacers, And secondly Bangladesh on day 4 and day 5 were turning it on phata wickets, but despite this the spin and seam was minimal yet Pakistan got bundled out like a bafoon.
Declaring at 448 with 1 day wasted due to rain isn't an issue, the goal of a test game is to win and not go for a draw. I actually have respect for pakistan on trying to go for a win and not batting linger.
The issue is simple, Theirs a gap in skill aka players can't play spin or seam with even a minimal seam, swing or Spin, and the captain is a moron. Misbah would field shehzad and Azhar 2 amazing slip fielders at difficult positions.
Shan doesn't have those options which is fair, but WHY ON EARTH WOULD YOU PLACE SALMAN ALI AGHA IN SLIPS? The last time this moron got smacked in the face by a ball in wc 2023? He's possibly the worst choice you can have at slips on your current team? Why not try saud? Surely he can't do any worse?