API will not allow me to push a button that pushes another button

I just realized that when I call the ‘Push a button’ API to push a button in a table, which in turn pushes another button, the action does not work at all!

If I push the same button directly via the web interface, it seems to work perfectly and pushes the resultant button it is programmed to. So the issue seems to be restricted to the API alone. Also, if I use the same API to call a button that simply performs some other operation than button pushing, that seems to work fine too.

Is this by design? Could someone please confirm if they notice this too, before a reach out to support?