It looks to me that their government do not want to remain as an EU member state and may also be heading for the door by engineering a crisis.
https://www.theguardian.com/world/2021/oct/07/polish-court-rules-that-eu-laws-incompatible-with-its-constitution
Would Poland leaving be worse for the bloc than Brexit?