I think UAP is an attempt to be more general and not include implicit assumptions.
A UFO is unidentified, but it might not actually be "flying", and it might not actually be something that can be considered an "object".