Did Apple claim iOS is open source?
Well, https://github.com/apple-oss-distributions/xnu is, but it's not enough to make you an iPhone.
AOSP is open source. The Android running on most manufacturer-branded phones isn’t.
Well, https://github.com/apple-oss-distributions/xnu is, but it's not enough to make you an iPhone.