This is probably because of grease and grime that has managed to build up inside your oven over time. Regular cleaning will help prevent this. In addition, if you cook something with a strong smell, you will need to clean sooner rather than later. Only use oven cleaning products – any other products can make your oven smell worse.