The major factor that determines why fungi are not classified as part of the plant kingdom is:
Fungi are heterotrophs, but plants are autotrophs.
Fungi obtain their nutrients by absorbing organic matter from their environment, while plants produce their own food through photosynthesis. This fundamental difference in how they acquire energy is a key reason for their separate classification.