mmm ... not enough info. My oldest was told ‘no’ plenty, but still went through a phase of tantrum throwing whenever the feeling struck her.
When it was in public I would pick her up throw her over the shoulder and out to the car we went.
Few months later phase was over.
In this case sounds like there is also medical involved.
or at least thats the excuse.