as mizzley said it’s probably just hormones. you can help with hormones by making sure you aren’t stroking his back, making sure there’s not too much fat in his diet, and making sure he doesn’t seem his cage as a “nest” . but sometimes they’re just hormonal, especially during spring, birds are very unique LMAO