Because his mothe was a US citizen >18yrs old and had spent the majority of the previous 10 years in the US.
had to be 5 years past her 14th birthday spent in the US..
IOW she had to be 19 and Obama’s mother was only 18 when he was born...