A subspace $Y$ of a topological space $X$ is disconnected exactly when it can be written as a union $Y=A\cup B$ with $A$ and $B$ disjoint nonempty open subsets of $Y$ (in the subspace topology). In terms of the topology of $X$, we have $A=U\cap Y$ and $B=V\cap Y$ for open sets $U$ and $V$ in $X$. This translates to:
$(1)$ $Y$ is disconnected iff $Y\subset U\cup V$ for some open sets $U$ and $V$ in $X$, both meeting $Y$, and with $U\cap Y$ and $V\cap Y$ disjoint.
As indicated in Willard, Exercise 26D, the following is not true in general:
$(2)$ $Y$ is disconnected iff $Y\subset U\cup V$ for some disjoint open sets $U$ and $V$ in $X$, both meeting $Y$.
We cannot take $U$ and $V$ disjoint in condition $(1)$ in general. See the answer to this question for a $T_0$ example. A simple $T_1$ example is the line with two origins $X=\mathbb{R}\cup\{0^*\}$. The subspace $Y=\{0,0^*\}$ is disconnected, with the only possible disconnection being $\{0\}\cup\{0^*\}$, but any two respective nbhds of $0$ and $0^*$ in $X$ are not disjoint.
However, if $X$ is a metric space, we can require $U$ and $V$ to be disjoint, as shown here.
Question:
Is there an example of a Hausdorff space $X$ with a disconnected subspace $Y$, where the disconnection cannot be witnessed by the traces on $Y$ of disjoint open sets in the ambient space?
As mentioned above, any counterexample cannot be a metrizable space. Also $Y$ cannot be finite, as any two points can be separated by disjoint open sets in a $T_2$ space. I just can't come up with any example.