Azure has an integrated high-level security system to protect the customers from different network attack and malicious activity.
for details you can check the following threads
https://learn.microsoft.com/en-us/answers/questions/93232/ip-spoofing-attack-in-aks
https://learn.microsoft.com/en-us/azure/virtual-network/ip-based-access-control-list-overview
to solve your problem
Create multiple VMs within your VNet and use different tools or scripts to generate UDP traffic from each VM. This simulates a scenario with diverse source IPs while remaining within the bounds of Azure's networking rules.
or
Use specialized load testing tools designed for Azure environments. These tools can often simulate traffic from a range of IP addresses without the need for spoofing. Examples include Azure Load Testing (Preview) and JMeter with Azure plugins.