Why doesn’t WordPress use the smaller sized image?

It doesn’t, WP supports responsive image markup, so your browser decides based on various factors such as pixel density, battery, network, viewport, etc

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)