Question about request url

Hi,
i would like to understand why on an event like purchase the request urls are different ?

Sometimes the request url is like
https://xxxx/ngtwetwjmkx?v=2&tid=G-XXXXXXXXXX&gtm=4

and sometimes
https://xxxx/g/collect?v=2&tid=G-XXXXXXXXXX&g

you see the difference ngtwetwjmkx vs collect

Both are working in analytics

Thanks

These are two different requests

https://xxxx/ngtwetwjmkx?v=2&tid=G-XXXXXXXXXX&gtm=4…

It’s an event request

https://xxxx/g/collect?v=2&tid=G-XXXXXXXXXX&g

It’s a gtag download request