Why is philippines with ph and filipino with f?

would it be wrong to spell filippines or philipino? and why is it only one p in filipino while philippines have 2 p?
11 answers 11