Kunen in his "Foundations of Math" p.$53$ https://www.math.wisc.edu/~miller/old/m771-10/kunen770.pdf says that under the Axiom of Choice (i.e., every set can be well-ordered), the continuum $|\mathcal{P}(\omega)|$ is an uncountable cardinal.
[Yet] by Cohen, ZF does not prove $\mathcal{P}(\omega)$ is well-orderable.
How does well-orderable or not well-orderable come to affect the ability to determine that $|\mathcal{P}(\omega)|$ is an uncountable cardinal?
(Ironically, he subsequently goes on to say: By the following one is able to produce uncountable cardinals without using AC.
He is referring to his proof of Hartogs theorem: For every set $A$ there is a cardinal $\kappa$ such that $\kappa\npreceq A$.
Yet in that proof he says :$W$ is the set of all well-orderings of all subsets of $A$.
But I just mention this as an aside.)
Thanks
There is no tension between these facts, although if you say them quickly they sound contradictory for a while.
The key word here is "cardinal" - in the absence of choice, we have to be careful about what we mean by this! Or rather, we (this isn't universal, but let's follow Kunen for now) still define a cardinal to be "an ordinal not in bijection with any smaller ordinal" (= an initial ordinal), but we now have to be careful:
(This is less mysterious than it may sound: being well-orderable is the same as admitting a bijection with some ordinal, and every ordinal is in bijection with some cardinal, namely the largest initial ordinal $\le$ it.)
Put another way:
Let's leave aside the task of defining "cardinality," as opposed to "cardinal," without choice; it can easily be done, but it's a bit of a digression here. Your real question is about the following three principles:
$(1)$ $\mathcal{P}(\omega)$ is uncountable.
$(2)$ There is an uncountable cardinal.
$(3)$ $\mathcal{P}(\omega)$ is in bijection with an uncountable cardinal (this is what "$\vert\mathcal{P}(\omega)\vert$ is an uncountable cardinal" really means for us at the moment, having not defined "$\vert \cdot\vert$" in the absence of choice).
The point here is:
The proof of $(1)$ is just Cantor's diagonal argument, and nowhere invokes choice.
To prove that $(3)$ needs choice, we construct a model of ZF in which $\mathcal{P}(\omega)$ is not well-orderable, hence not in bijection with any cardinal (uncountable or countable). This was done by Cohen via forcing, and is too complicated to explain here.
Finally, to prove $(2)$ without choice, we reason as follows:
Let $W$ be the set of equivalence classes of well-orderings with domain $\subseteq\omega$ under "is order-isomorphic to." We can prove that $W$ is a set using the ZF axioms, the key ones being Powerset and Separation.
By transfinite induction, every well-ordering is order-isomorphic to a unique ordinal (note: this crucially uses Replacement), and clearly order-isomorphic well-orderings are isomorphic to the same ordinal. So we get a "definable map" from $W$ to the ordinals, hence since $W$ is a set we get by Replacement the set $S$ of ordinals corresponding to elements of $W$.
$S$ is closed downwards (exercise) hence an ordinal itself. But every countable ordinal is order-isomorphic to a well-ordering with domain $\subseteq\omega$ (exercise), so if $S$ were countable we would have $S\in S$, violating Foundation; so $S$ must be an uncountable ordinal. We could also avoid using Foundation and just argue directly that $S$ is uncountable; Foundation here is a bit wasteful.
Incidentally, the relationship between $\omega_1$ - the supremum of the countable ordinals, or equivalently the first uncountable ordinal (in fact, $\omega_1$ is our $S$ above) - and $\mathcal{P}(\omega)$ is complicated: it is consistent with ZF (and a consequence of certain natural anti-choice axioms like AD) that $\omega_1$ and $\mathcal{P}(\omega)$ are incomparable in the sense that neither admits an injection into the other. Meanwhile, ZF proves of course that there is a surjection from $\mathcal{P}(\omega)$ onto $\omega_1$, and it is consistent even with ZFC that there is no surjection from $\omega_1$ to $\mathcal{P}(\omega)$ (consider a model where the continuum hypothesis fails).