There are negative numbers. Negative five, for example, is a negative number.
Yes, and if you square it, you get 25, not -25.
Exactly right. If you square negative five, you get 25.But in the expression -5^2, you are not squaring negative five.
In the expression 23^2, you are not squaring three.
The operation of the minus sign comes after the operation of the exponent. The operation of converting "23" into "(2*10 + 3*1) comes
before the operation of the exponent.
This is not inconsistent or illogical. "2" and "3" are numerals, as is "5". "-" is not a numeral.
Converting paired numerals into a single value comes before any operators are applied.
Then operators are applied in (arbitrary) order. According to that order, exponentiation comes before multiplication. "^" is exponentiation. "-" is multiplication.