So it's possible he was fathered by US citizen, albeit Communist, either in Hawaii, Kenya, or Seattle. The pregnancy could have started in any of those places, and ended in another. Whomever the father was, it was a liaison, and possibly unsure, even to the mother. At some point, Barry/Barack committed to the Kenyan narrative when he was old enough to play politics...or old enough to apply for US college as foreign student.
So, it's possible the deep state, and third party cronies, helped him put his history in a black hole because they were satisfied he was US citizen, even if born in Kenya. If Marshall was the father, that would be probable, especially getting help from the deep state,on the far left.
Still, the publicized document is forged, and he did claim Kenyan birth in a document early in his political career.
At some point, Obama acknowledged ties to Frank Marshall, but in a way that would be politically expedient. By acknowledging ties to Marshall, he could call out to the left for help, while keeping political distance from a past where being Communist was politically inexpedient, and frowned upon. Now, Bernie Sanders brand is popular, but that popularity dates back to at least the time Barack felt it was expedient to acknowledge the influence of Marshall.
At a correspondence dinner, Obama joked with Sanders, asking why his "comrade" was keeping his distance from him.
The point is Obama understands political positions, and the need for "distance", including his distance from his Mohammedan faith.
When it was expedient, he brought a Kenyan "father" close, and kept Marshall close, but distant.
When the Kenyan birth narrative was no longer expedient, that part was changed, but it was TOO LATE to change the Kenyan father narrative.