I did not assume. The comment to which I was responding suggested it was the destination IP that was the problem. Generally (but not always) an IP filter would be applied irrespective of protocol. I also pointed out that the initial SYN and reply SYN/ACK are getting through the hypothesized bogon filter and those are part of TCP. I don't think the bogon filter is a hypothesis that fits the evidence.
ETA: but adding connection state tracking + a filter does make sense https://news.ycombinator.com/item?id=39822214
I've never seen this (all protocols by default) in any environment I've personally worked with, but perhaps I've had a unique experience.
Are you referring to local networks only?
It's very common to not allow ICMP by defaul to workloads in the cloud, e.g. in AWS.
Edit: here's a good page about the effects of disabling ICMP: https://www.rimscout.com/why-you-should-not-block-icmp/
Also there's some blackhole detection or how is it called.
However it's OK to block _parts_ of the ICMP protocol for security reasons, like echo and reply.
BTW your assumption "a successful ICMP ping = TCP and UDP work" is an extremely common one that I too had before I was taught otherwise.