Every object which is using the Drupal\Core\DependencyInjection\ContainerInjectionInterface (e.g. controllers, forms and blocks), must implement the create() factory method to pass the dependencies into the class constructor. Controllers, forms and blocks are not defined via the *.services.yml file.
Example How to inject current_user service in custom form:
Example how do I use dependency injection in Controller: