With Xujin having a cultivated flower and Shian having a "random roadside flower", the teacher thought they were favoring Xujin more than Shian.
As for why they bringing flower into class, the teacher most likely wanted to have a flower vase in class. so they asked parents to prepare 1 flower...