In bubble sort, adjacent elements are compared and swapped if they are in the wrong order. After the first pass, the largest element reaches the last position.
Initial array:
$\texttt{[5, 99, 1, 36, 4, 2]}$
Step-by-step first pass:
Compare $5$ and $99 \rightarrow$ no swap $\rightarrow \texttt{[5, 99, 1, 36, 4, 2]}$
Compare $99$ and $1 \rightarrow$ swap $\rightarrow \texttt{[5, 1, 99, 36, 4, 2]}$
Compare $99$ and $36 \rightarrow$ swap $\rightarrow \texttt{[5, 1, 36, 99, 4, 2]}$
Compare $99$ and $4 \rightarrow$ swap $\rightarrow \texttt{[5, 1, 36, 4, 99, 2]}$
Compare $99$ and $2 \rightarrow$ swap $\rightarrow \texttt{[5, 1, 36, 4, 2, 99]}$
Therefore, after the first pass, the array becomes:
$\texttt{[5, 1, 36, 4, 2, 99]}$
Hence, the correct option is D.