Why is my son who was not employed or in school at all for 2023 not count as a dependent?

he is 22 years old and not considered a dependant