The people stood up to show respect for God's word (Job 29:8). They likely stood the entire time Ezra read.