"School" is an abstract concept to a kid who's never been before. The unfamiliar people and routines can be scary for them. Some preschoolers might also have lingering separation anxiety, but this is completely normal—it simply means that a child has a strong attachment to their caregiver.