Both are instance of something being vacuously true, though one has to think a bit to see it.
Since $\mathcal{S}\subseteq\wp(X)$, for any $\mathscr{U}\subseteq\mathcal{S}$ we have
$$\bigcup\mathscr{U}=\{x\in X:\exists U\in\mathscr{U}(x\in U)\}\tag{1}$$
and
$$\bigcap\mathscr{U}=\{x\in X:\forall U\in\mathscr{U}(x\in U)\}\;.\tag{2}$$
Let’s take $(2)$ first. How could one conclusively demonstrate that some $x\in X$ did not belong to $\bigcap\mathscr{U}$? One would have to show that there was some $U\in\mathscr{U}$ such that $x\notin U$. If $\mathscr{U}=\varnothing$, it’s impossible even to find a $U\in\mathscr{U}$, let alone one that does not contain $x$, so it’s impossible to demonstrate that $x\notin\bigcap\mathscr{U}$. Thus, $x\in\bigcap\mathscr{U}$ for all $x\in X$ if $\mathscr{U}=\varnothing$, and hence $\bigcap\mathscr{U}=X$ when $\mathscr{U}=\varnothing$. In particular, if $\mathcal{S}=\varnothing$, then $\mathscr{U}\subseteq\mathcal{S}$ means that $\mathscr{U}=\varnothing$ and hence that $\bigcap\mathscr{U}=X$.
We deal with the union the same way. Given a particular $x\in X$, how do you show that $x\in\bigcup\mathscr{U}$? You show that there is a $U\in\mathscr{U}$ such that $x\in U$. If $\mathscr{U}=\varnothing$, you can’t even find a $U\in\mathscr{U}$, let alone one that contains $x$, so it must be that $x\notin\bigcup\mathscr{U}$. That’s true for all $x\in X$, so if $\mathscr{U}=\varnothing$, then $\bigcup\mathscr{U}=\varnothing$.
Note that in $(1)$ and $(2)$ I was careful to limit possible members of $\bigcup\mathscr{U}$ and $\bigcap\mathscr{U}$ to $X$. This didn’t matter much for $(1)$, since the argument given to show that no $x\in X$ belongs to $\bigcup\varnothing$ works equally well for any $x$ whatsoever, and we’d arrive at the conclusion that $\bigcup\varnothing=\varnothing$ even without the restriction. It matters a lot for $(2)$, however: without the restriction we end up concluding that $\bigcap\varnothing$ contains everything $-$ that it’s the ‘set’ of all sets, which doesn’t exist. By specifying that $\mathcal{S}$ is a class of subsets of $X$, Simmons is implicitly limiting the candidates for membership in $\bigcap\mathscr{U}$ (where $\mathscr{U}\subseteq\mathcal{S}$) to elements of $X$.