It was an advertised feature of the iPhone, started with the 10 I think.Pretty sure that is just a Facebook filter..
Use live focus when taking the photo, then you can start a thread on Facebook and choose 3D and a live focus photo from your gallery.