DDR5 is about $250-300 more expensive now for 16gb than it was at all time lows. The $400 price might be to absorb any additional cost increases while maintaining their existing profit margin.
EDIT: sorry, my numbers are off. It’s $250-300 more expensive for 32gb not 16.