Your bird is hormonal. If it is a female she may lay eggs even if she doesn't have a mate. Put the bird in its cage when you are going to have a pen out. Maybe it is a seasonal thing & your bird may get over it eventually.