Got a packet bigger than 'max_allowed_packet' bytes

I have installed Passbolt, It runs perfectly but after some days it gives the error on the frontend.

  • – Server operating system name and version Ubuntu 20.04
  • – Web server name and version Nginx latest
  • – Database server name and version MYSQL 5.7.33 in a docker container
  • – Php version 7.2-fpm
  • – Passbolt version Latest
    ![WhatsApp Image 2021-04-05 at 10.42.47 AM|521x500]

And in logs it shows the error:

> Got a packet bigger than 'max_allowed_packet' bytes

And when I change the max_allowed_packet in mysql.conf, it gets resolved.
I am confused as, why the query size is getting bigger and bigger, first, it was 16M, then 32M, and now it’s 64M.
Why is it growing?