Some bright spark at Microsoft has decided that what Paint desperately needed in Windows 11 was layers. Because... who knows.
If you're after the familiar simplicity of MS Paint that doesn't randomly hang, doesn't force you to use layers you can't flatten when drawing a simple rectangle, and just does what it was intended to do - head to Winaero and download Classic Paint.