Hi and welcome to the forum! I am glad that I can help you.
You want to know the cause of the foul smell of the urine.
Individuals can experience smelly urine without any underlying medical condition. This appears usually in the morning because the urine is much more concentrated compared to any other period of the day. However, different smells of the urine may indicate medical conditions such as infections and certain metabolic disorders.
According to the data that you described, you experience foul smelling urine. You may consider having a bacterial culture with an antibiogram from a urine sample to rule out possible urinary tract infection. You may also want to have your doctor check whether glucose or ketones are present in the urine to rule out possible diabetes.
Please keep in mind that I provide medical information only. I am not able to dignose medical conditions online. Please contact your doctor for further advice and information about diagnosis and treatment options.