Probably because you used the File/Save command instead of the File/Export.... command. Use the latter and select from the 'Save as type' drop-down bar 'Scalable Vector Graphics (*.svg; *.svgz)'.