Sounds like a green heron. Used to live in a swampy area in Oregon and remember almost hitting the ceiling when one did that right outside my open bedroom window. I don’t know how a noise that big can come out of something that small but it does!
Some kind of bird was my immediate thought as well.