It looks somehow pained as it rages around in search of light, which serves as its energy. It's apparently from another world.
Light is the source of its energy. If it isn't devouring light, impurities build up in it and on it, and Necrozma darkens and stops moving.