I can see why people think the underlying logic being used is racist Sadly that's how any kind of profiling is seen these days, even health profiling. So curtailing Eid becomes a racist issue and identifying those attending/running some of the illegal street/music parties does too!
BAME communities are at more risk. On one hand we have a lot of people demanding answers, being quite accusatory, as if anyone in the government, or society as a whole, designed the virus. On the other we have a lot of BAME centred activities, including EId, that need to be adressed.
The choices are: let Eid go ahead as usual, do nothing about the mass gatherings, street parties, music raves etc etc, or
Do something to curtail all such mass gatherings, especially in areas with additional lockdown measures.
Both choices will bring accusations of racism, one will help reduce BAME infection and death rates.
Given the libertarian approach the government has taken so far, mostly guidelines and trusting us to do what is right, a strict lockdown on the eve of Eid, the decision taken so late, suggests a long meeting, series of meetings with a lot of contradicting opinions.
I'm not sure there was anything any government could do that would not bring cries of racism before or after Eid.