It looks like both to me. Those droppings are not well formed, which means it is diarrhea. I would recommend a vet check up. Birds are very good at hiding illnesses until it's too late. A lot of the times, their poop is the only indicator you will get.