How does the seven-step poem express Cao Zhi's thoughts and feelings?

Comparing beans and tofu with their close relatives, "boiling tofu and burning tofu" implicitly expressed their grief and indignation at the persecution of their brothers. "beans cry in the kettle" can be regarded as personification, showing a person's tragic situation.

The whole poem expresses his cruelty to his brother and his resentment at his disregard for friendship because of his power.

-I hope I can help you.