When defining irreducible integers, we restrict our attention $Z = \{n \in \mathbb{Z} \; | \; |n| > 1\}$. Then we say that for some $p \in Z$, $p$ is irreducible if for some $a,b \in \mathbb{Z}$: $$p = ab \implies |a| = 1 \;\vee\; |b| = 1$$
Why do we exclude $1$ and $-1$ from the definition? Wouldn't they fit the condition?
Generally it's because we want to talk about unique factorization into the product of irreducible elements. If we allowed units to be irreducible, we'd lose uniqueness (since you could include or not include any amount of 1's)