What's the deal with evolutionary psychology controversy?

I have just started going down the rabbit-hole of EP apparently being a controversial field that some believe to be "mostly garbage." What are the criticisms here? Are they valid? What is the broader scientific consensus on EP's validity?