this could have been me, several years ago.
dd1 has (severe) ASD. I tried and tried (and needed to, for my own sanity) to get out and about to various sessions when she was little. invariably, we woudl get thee, and she would expect there to be a certain rundown of activities.
so, for eg, if we had been in the library the previous week, and I had given her my phone to watch somethign while I had a rare 2 minutes peace to choose books, she would naturally want my phone again when we went into the library.
I woudl use it as sparingly as I could, and occasionally useit as a reward for doing somethign I wanted (ie 'breaking' cycle a bit). so maybe I owuld want her to walk into the library, rather than be carried, and sit for 2 minutes attending before getting my phone. that would count as a success (at that point) for me, and I would happily hand over my phone.
what people observing (judging or not - up to them!) would not know is that we might have been working for weeks just to get to that point. they would see a charming toddler, who was at no point behaving 'badly', who was given an electronic toy instead of attending the lovely craft/story/play session. and they woudl see a 'pushover' mum who 'gave in' to everything the toddler wanted (seemingly).
sometimes, what you see is not what is actually happening, iyswim.