Why is the MacBook Air M2 chip so buggy?

For example, a simple thing, reviewing my photos and sending photos in Apple photos, insanely buggy.