I recently ran into an inconsistency in the Joomla API. Creating a console plugin, which happens to trigger events in other plugins - I found myself unable to trigger a specific event on a live server after successfully testing it on a dev server.
Long story short, it turned out that I had set the access level for the triggered plugin to "Special" on the live server and the CLI plugin was unable to trigger its event.
This, to me, makes no sense. The CLI can create users, take the site on and offline, install and remove extensions, and more... But it can only trigger plugins in the public access level?
How does that make sense?
Edit: I'm not the first to notice this, this problem has existed since J3. The issue was closed because J4 was about to release - no actual fix was ever implemented.