If anyone is interested, @amitgold can check if anything was done with python3-pillow package with:
sudo dnf history python3-pillow
It would list all dnf transactions (I’m not sure about package operations done with Gnome Software) which had touched python3-pillow in any way.
sudo dnf history info <number_of_transaction>
will show details about any transaction.